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.001529/0.001529, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001733/0.001733, allocations: 214.4 kB / 22.25 MB, free: 4.855 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.801 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.1469/0.1469, allocations: 24 MB / 336.4 MB, free: 10.86 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.002181/0.002181, allocations: 63.91 kB / 471.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3059, allocations: 59.9 MB / 0.5192 GB, free: 9.738 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.07191/0.3778, allocations: 28.26 MB / 0.5468 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02443/0.4023, allocations: 17.13 MB / 0.5635 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.4037, allocations: 27.75 kB / 0.5636 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.4054, allocations: 459 kB / 0.564 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.4095, allocations: 1.208 MB / 0.5652 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007903/0.4174, allocations: 2.887 MB / 0.568 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003388/0.4208, allocations: 2.098 MB / 0.5701 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.4225, allocations: 1.053 MB / 0.5711 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.4238, allocations: 0.9271 MB / 0.572 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.4255, allocations: 0.9569 MB / 0.5729 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005202/0.426, allocations: 200 kB / 0.5731 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005612/0.4316, allocations: 1.958 MB / 0.575 GB, free: 472 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006703/0.4323, allocations: 470.6 kB / 0.5755 GB, free: 0 / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.4335, allocations: 0.8249 MB / 0.5763 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008193/0.4417, allocations: 4.346 MB / 0.5805 GB, free: 10.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4417, allocations: 0 / 0.5805 GB, free: 10.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4417, allocations: 0 / 0.5805 GB, free: 10.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.839e-05/0.4418, allocations: 0 / 0.5805 GB, free: 10.81 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.004941/0.4467, allocations: 2.335 MB / 0.5828 GB, free: 8.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4468, allocations: 8.031 kB / 0.5828 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.4485, allocations: 446.8 kB / 0.5832 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.4506, allocations: 1.026 MB / 0.5842 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.4508, allocations: 234.4 kB / 0.5845 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.4511, allocations: 164 kB / 0.5846 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.4547, allocations: 2.237 MB / 0.5868 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.4548, allocations: 7.938 kB / 0.5868 GB, free: 4.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.4549, allocations: 68 kB / 0.5869 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.455, allocations: 44 kB / 0.5869 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004178/0.4591, allocations: 2.688 MB / 0.5895 GB, free: 1.395 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.01056/0.4697, allocations: 6.131 MB / 0.5955 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.4714, allocations: 0.9715 MB / 0.5965 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008623/0.4723, allocations: 0.5135 MB / 0.597 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006795/0.4791, allocations: 2.969 MB / 0.5999 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4791, allocations: 39.22 kB / 0.5999 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003923/0.4795, allocations: 115 kB / 0.6 GB, free: 6.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.564e-06/0.4795, allocations: 0 / 0.6 GB, free: 6.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.0172/0.4967, allocations: 4.551 MB / 0.6045 GB, free: 1.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.4968, allocations: 131.7 kB / 0.6046 GB, free: 1.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4986, allocations: 1.441 MB / 0.606 GB, free: 228 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.4986, allocations: 41.7 kB / 0.606 GB, free: 180 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007061/0.4993, allocations: 0.9356 MB / 0.607 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.4997, allocations: 365.1 kB / 0.6073 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005226/0.5002, allocations: 355.3 kB / 0.6076 GB, free: 14.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.5004, allocations: 357.9 kB / 0.608 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.5014, allocations: 0.6364 MB / 0.6086 GB, free: 13.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.5033, allocations: 1.337 MB / 0.6099 GB, free: 11.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.5062, allocations: 1.94 MB / 0.6118 GB, free: 9.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.5062, allocations: 8 kB / 0.6118 GB, free: 9.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005594/0.5118, allocations: 2.379 MB / 0.6141 GB, free: 7.168 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.5118, allocations: 16 kB / 0.6142 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/0.5119, allocations: 24 kB / 0.6142 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.5142, allocations: 379.3 kB / 0.6145 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/0.5169, allocations: 0.5617 MB / 0.6151 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008712/0.5256, allocations: 7.374 MB / 0.6223 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.5268, allocations: 87.88 kB / 0.6224 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.527, allocations: 108 kB / 0.6225 GB, free: 14.15 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.0006482/0.5276, allocations: 373.2 kB / 0.6228 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.5279, allocations: 119.2 kB / 0.6229 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/0.5325, allocations: 1.526 MB / 0.6244 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.5325, allocations: 12 kB / 0.6244 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5325, allocations: 0 / 0.6244 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5325, allocations: 3.984 kB / 0.6245 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006409/0.5389, allocations: 2.649 MB / 0.627 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.5389, allocations: 8 kB / 0.627 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/0.5398, allocations: 216.5 kB / 0.6273 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/0.5423, allocations: 412.5 kB / 0.6276 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/0.5424, allocations: 47.92 kB / 0.6277 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008076/0.5505, allocations: 7.168 MB / 0.6347 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/0.5505, allocations: 11.94 kB / 0.6347 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.5554, allocations: 2.152 MB / 0.6368 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.5557, allocations: 123.1 kB / 0.6369 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.5559, allocations: 39.98 kB / 0.637 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006501/0.5565, allocations: 24 kB / 0.637 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.5567, allocations: 116.3 kB / 0.6371 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.5568, allocations: 47.92 kB / 0.6371 GB, free: 14.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.5581, allocations: 0.9713 MB / 0.6381 GB, free: 13.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5581, allocations: 0 / 0.6381 GB, free: 13.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002816/0.5609, allocations: 0.8182 MB / 0.6389 GB, free: 12.55 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.00165/0.5625, allocations: 0.9063 MB / 0.6398 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00341/0.5659, allocations: 1.698 MB / 0.6414 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.566, allocations: 0 / 0.6414 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.5673, allocations: 0.962 MB / 0.6424 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.5687, allocations: 229.9 kB / 0.6426 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.5733, allocations: 2.876 MB / 0.6454 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.574, allocations: 0.633 MB / 0.646 GB, free: 5.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009903/0.575, allocations: 317.8 kB / 0.6463 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.5753, allocations: 175.3 kB / 0.6465 GB, free: 4.527 MB / 494.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5753, allocations: 0 / 0.6465 GB, free: 4.527 MB / 494.1 MB Notification: Performance of Templates: time 0.04738/0.6227, allocations: 29.9 MB / 0.6757 GB, free: 6.801 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: 5.939321117475629] Failed to read output from testmodel.py, exit status != 0: 0.6319279838353395 0.645372689 0.20061498200000003 Calling exit ...