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.001385/0.001385, allocations: 109 kB / 16.46 MB, free: 6.453 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.001473/0.001473, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.433/1.433, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1385/0.1385, allocations: 23.89 MB / 332.7 MB, free: 12.32 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.002464/0.002464, allocations: 67.89 kB / 466.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3203, allocations: 59.84 MB / 0.514 GB, free: 9.168 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.04307/0.3634, allocations: 29.08 MB / 0.5424 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02752/0.3909, allocations: 19.48 MB / 0.5614 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.393, allocations: 23.81 kB / 0.5615 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.3948, allocations: 0.5065 MB / 0.562 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.3994, allocations: 1.232 MB / 0.5632 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009087/0.4085, allocations: 2.857 MB / 0.566 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004345/0.4128, allocations: 2.097 MB / 0.568 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.4147, allocations: 1.103 MB / 0.5691 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.4161, allocations: 0.9348 MB / 0.57 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.4183, allocations: 1.07 MB / 0.571 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004884/0.4188, allocations: 200 kB / 0.5712 GB, free: 488 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008055/0.4268, allocations: 2.079 MB / 0.5733 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007973/0.4276, allocations: 470.6 kB / 0.5737 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.429, allocations: 0.9839 MB / 0.5747 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.4396, allocations: 4.362 MB / 0.5789 GB, free: 8.566 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4396, allocations: 4 kB / 0.5789 GB, free: 8.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4396, allocations: 0 / 0.5789 GB, free: 8.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.237e-05/0.4396, allocations: 0 / 0.5789 GB, free: 8.562 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.004981/0.4446, allocations: 2.403 MB / 0.5813 GB, free: 6.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4447, allocations: 12.03 kB / 0.5813 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4465, allocations: 454.7 kB / 0.5817 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.4485, allocations: 1.084 MB / 0.5828 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.4487, allocations: 183 kB / 0.583 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.449, allocations: 167.9 kB / 0.5831 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/0.4528, allocations: 2.222 MB / 0.5853 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.4528, allocations: 0 / 0.5853 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.453, allocations: 72 kB / 0.5854 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.453, allocations: 40 kB / 0.5854 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.4574, allocations: 2.676 MB / 0.588 GB, free: 15.07 MB / 446.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.0122/0.4696, allocations: 7.272 MB / 0.5951 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.4716, allocations: 1.134 MB / 0.5962 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009416/0.4725, allocations: 0.5183 MB / 0.5967 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008585/0.4811, allocations: 5.156 MB / 0.6018 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.4812, allocations: 43.12 kB / 0.6018 GB, free: 76 kB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005372/0.4817, allocations: 119.1 kB / 0.6019 GB, free: 15.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 2.485e-06/0.4817, allocations: 0 / 0.6019 GB, free: 15.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=95): time 0.01914/0.5008, allocations: 4.864 MB / 0.6067 GB, free: 10.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.5009, allocations: 111.8 kB / 0.6068 GB, free: 10.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.5029, allocations: 1.478 MB / 0.6082 GB, free: 9.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/0.503, allocations: 45.7 kB / 0.6083 GB, free: 9.281 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007237/0.5037, allocations: 0.92 MB / 0.6092 GB, free: 8.348 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.504, allocations: 357.1 kB / 0.6095 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005631/0.5046, allocations: 359.3 kB / 0.6098 GB, free: 7.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5047, allocations: 305.1 kB / 0.6101 GB, free: 7.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.5058, allocations: 0.6246 MB / 0.6107 GB, free: 6.711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.5076, allocations: 1.333 MB / 0.612 GB, free: 5.047 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.5104, allocations: 1.917 MB / 0.6139 GB, free: 2.797 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.5104, allocations: 8 kB / 0.6139 GB, free: 2.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005905/0.5163, allocations: 2.359 MB / 0.6162 GB, free: 420 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.5163, allocations: 16 kB / 0.6162 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/0.5164, allocations: 31.86 kB / 0.6163 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.519, allocations: 375.1 kB / 0.6166 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/0.5217, allocations: 0.5655 MB / 0.6172 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009558/0.5313, allocations: 7.912 MB / 0.6249 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.5327, allocations: 75.86 kB / 0.625 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.5329, allocations: 108 kB / 0.6251 GB, free: 6.715 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.0007088/0.5336, allocations: 373.2 kB / 0.6254 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.534, allocations: 131.1 kB / 0.6256 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004862/0.5388, allocations: 1.538 MB / 0.6271 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.5388, allocations: 12 kB / 0.6271 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5388, allocations: 0 / 0.6271 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.5388, allocations: 11.97 kB / 0.6271 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007309/0.5462, allocations: 3.007 MB / 0.63 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.5462, allocations: 8 kB / 0.63 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/0.5471, allocations: 219.7 kB / 0.6302 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.5498, allocations: 404.5 kB / 0.6306 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.5499, allocations: 43.98 kB / 0.6307 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00904/0.559, allocations: 7.719 MB / 0.6382 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.559, allocations: 8 kB / 0.6382 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005324/0.5643, allocations: 2.156 MB / 0.6403 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/0.5648, allocations: 208.2 kB / 0.6405 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.565, allocations: 32.12 kB / 0.6406 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.5657, allocations: 31.98 kB / 0.6406 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.5659, allocations: 112.3 kB / 0.6407 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/0.566, allocations: 51.98 kB / 0.6407 GB, free: 5.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.5674, allocations: 1.013 MB / 0.6417 GB, free: 4.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5674, allocations: 0 / 0.6417 GB, free: 4.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003208/0.5707, allocations: 0.8221 MB / 0.6425 GB, free: 3.855 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.001906/0.5726, allocations: 0.9158 MB / 0.6434 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.5764, allocations: 1.69 MB / 0.6451 GB, free: 1.219 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.5764, allocations: 4 kB / 0.6451 GB, free: 1.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.578, allocations: 0.9618 MB / 0.646 GB, free: 212 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.5796, allocations: 224.2 kB / 0.6462 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.5846, allocations: 2.871 MB / 0.649 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009832/0.5856, allocations: 1.227 MB / 0.6502 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001059/0.5866, allocations: 322.5 kB / 0.6505 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.5871, allocations: 187.2 kB / 0.6507 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.5871, allocations: 0 / 0.6507 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.04991/0.637, allocations: 28.68 MB / 0.6787 GB, free: 14.62 MB / 0.5294 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: 5.99351412197575] Failed to read output from testmodel.py, exit status != 0: 0.6473294040188193 0.661104907 0.218345538 Calling exit ...