Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002468/0.002468, allocations: 216.9 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.181/0.181, allocations: 23.93 MB / 336.4 MB, free: 10.89 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 71.88 kB / 471.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4002, allocations: 59.88 MB / 0.5191 GB, free: 9.742 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell): time 0.07693/0.4772, allocations: 28.13 MB / 0.5466 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02532/0.5025, allocations: 17.13 MB / 0.5633 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.5043, allocations: 23.81 kB / 0.5633 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.5062, allocations: 467.2 kB / 0.5638 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.5113, allocations: 1.2 MB / 0.5649 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.5216, allocations: 2.9 MB / 0.5678 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00384/0.5254, allocations: 2.09 MB / 0.5698 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.5271, allocations: 1.08 MB / 0.5709 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.5284, allocations: 0.9349 MB / 0.5718 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.53, allocations: 1.066 MB / 0.5728 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.5303, allocations: 200 kB / 0.573 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005619/0.5359, allocations: 2.005 MB / 0.575 GB, free: 468 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006795/0.5366, allocations: 470.6 kB / 0.5754 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.5377, allocations: 0.8208 MB / 0.5762 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009489/0.5472, allocations: 4.358 MB / 0.5805 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5472, allocations: 0 / 0.5805 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5472, allocations: 0 / 0.5805 GB, free: 10.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.701e-05/0.5472, allocations: 4 kB / 0.5805 GB, free: 10.79 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004699/0.5519, allocations: 2.327 MB / 0.5828 GB, free: 8.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.552, allocations: 8.031 kB / 0.5828 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.5537, allocations: 450.8 kB / 0.5832 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.5559, allocations: 1.019 MB / 0.5842 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.5561, allocations: 238.4 kB / 0.5844 GB, free: 6.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.5564, allocations: 168 kB / 0.5846 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.5602, allocations: 2.233 MB / 0.5868 GB, free: 4.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.5603, allocations: 3.938 kB / 0.5868 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.5605, allocations: 72 kB / 0.5868 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.5605, allocations: 40 kB / 0.5869 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004413/0.5649, allocations: 2.699 MB / 0.5895 GB, free: 1.379 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.5767, allocations: 6.124 MB / 0.5955 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.5786, allocations: 0.9794 MB / 0.5964 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009372/0.5795, allocations: 0.5174 MB / 0.5969 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008051/0.5876, allocations: 2.969 MB / 0.5998 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.5876, allocations: 43.16 kB / 0.5999 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00054/0.5881, allocations: 103.1 kB / 0.6 GB, free: 6.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.746e-06/0.5882, allocations: 0 / 0.6 GB, free: 6.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.02141/0.6096, allocations: 4.559 MB / 0.6044 GB, free: 1.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/0.6096, allocations: 123.8 kB / 0.6045 GB, free: 1.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.6115, allocations: 1.453 MB / 0.606 GB, free: 200 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/0.6116, allocations: 45.7 kB / 0.606 GB, free: 148 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007323/0.6124, allocations: 0.9239 MB / 0.6069 GB, free: 15.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/0.6127, allocations: 361 kB / 0.6073 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005735/0.6133, allocations: 363.3 kB / 0.6076 GB, free: 14.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6135, allocations: 353.9 kB / 0.6079 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.6146, allocations: 0.6325 MB / 0.6086 GB, free: 13.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.6164, allocations: 1.353 MB / 0.6099 GB, free: 11.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.6192, allocations: 1.925 MB / 0.6118 GB, free: 9.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.6192, allocations: 8 kB / 0.6118 GB, free: 9.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.006384/0.6256, allocations: 2.375 MB / 0.6141 GB, free: 7.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.6257, allocations: 16 kB / 0.6141 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.45e-05/0.6257, allocations: 24.47 kB / 0.6141 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00297/0.6287, allocations: 390.8 kB / 0.6145 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/0.6318, allocations: 0.5578 MB / 0.615 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009793/0.6416, allocations: 7.374 MB / 0.6222 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.6431, allocations: 88.03 kB / 0.6223 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.6433, allocations: 104 kB / 0.6224 GB, free: 14.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007383/0.6441, allocations: 373.1 kB / 0.6228 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.6444, allocations: 119.2 kB / 0.6229 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/0.6497, allocations: 1.522 MB / 0.6244 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.6497, allocations: 12 kB / 0.6244 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6497, allocations: 0 / 0.6244 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.6498, allocations: 15.86 kB / 0.6244 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/0.6574, allocations: 2.642 MB / 0.627 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.6574, allocations: 12.03 kB / 0.627 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/0.6584, allocations: 215.7 kB / 0.6272 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.6615, allocations: 408.5 kB / 0.6276 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.6616, allocations: 39.92 kB / 0.6276 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009122/0.6707, allocations: 7.172 MB / 0.6346 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.6708, allocations: 16 kB / 0.6347 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006009/0.6768, allocations: 2.156 MB / 0.6368 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.6772, allocations: 127.2 kB / 0.6369 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.6774, allocations: 24.12 kB / 0.6369 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.6781, allocations: 35.98 kB / 0.6369 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.6783, allocations: 112.2 kB / 0.637 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6785, allocations: 51.98 kB / 0.6371 GB, free: 14.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001287/0.6797, allocations: 0.9673 MB / 0.638 GB, free: 13.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6797, allocations: 3.938 kB / 0.638 GB, free: 13.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002967/0.6827, allocations: 0.826 MB / 0.6388 GB, free: 12.53 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/0.6846, allocations: 0.8982 MB / 0.6397 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003749/0.6884, allocations: 1.703 MB / 0.6414 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.6884, allocations: 4 kB / 0.6414 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.6899, allocations: 0.9609 MB / 0.6423 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.6915, allocations: 233.4 kB / 0.6426 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005711/0.6973, allocations: 2.858 MB / 0.6453 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.6984, allocations: 0.633 MB / 0.646 GB, free: 5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.6996, allocations: 321.8 kB / 0.6463 GB, free: 4.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.7001, allocations: 179.2 kB / 0.6464 GB, free: 4.508 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7001, allocations: 0 / 0.6464 GB, free: 4.508 MB / 494.1 MB Notification: Performance of Templates: time 0.05373/0.7538, allocations: 30.45 MB / 0.6762 GB, free: 6.23 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.56039925897494] Failed to read output from testmodel.py, exit status != 0: 0.7644579401239753 0.781074767 0.23043190800000002 Calling exit ...