Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.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.001759/0.001759, allocations: 104.4 kB / 16.45 MB, free: 6.387 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.001971/0.001971, allocations: 218.3 kB / 19.43 MB, free: 3.727 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.74/1.74, 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.1409/0.1409, 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.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.002171/0.002171, allocations: 67.89 kB / 466.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3159, allocations: 59.84 MB / 0.514 GB, free: 9.441 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.ElectrochemicalCell): time 0.04312/0.359, allocations: 31.05 MB / 0.5444 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03758/0.3966, allocations: 28.84 MB / 0.5725 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.3986, allocations: 31.75 kB / 0.5725 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.4005, allocations: 0.6553 MB / 0.5732 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00719/0.4077, allocations: 2.204 MB / 0.5753 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01197/0.4196, allocations: 3.883 MB / 0.5791 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.4244, allocations: 2.848 MB / 0.5819 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.4267, allocations: 1.38 MB / 0.5833 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.4288, allocations: 1.348 MB / 0.5846 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.4314, allocations: 1.499 MB / 0.586 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007027/0.4321, allocations: 260 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.4431, allocations: 3.151 MB / 0.5894 GB, free: 14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.4443, allocations: 0.6075 MB / 0.59 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.4465, allocations: 1.295 MB / 0.5912 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.4594, allocations: 6.21 MB / 0.5973 GB, free: 5.859 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4594, allocations: 3.938 kB / 0.5973 GB, free: 5.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4594, allocations: 3.938 kB / 0.5973 GB, free: 5.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.761e-05/0.4595, allocations: 0 / 0.5973 GB, free: 5.852 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006203/0.4657, allocations: 3.163 MB / 0.6004 GB, free: 2.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4657, allocations: 12.03 kB / 0.6004 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.4681, allocations: 0.5609 MB / 0.6009 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.4703, allocations: 1.315 MB / 0.6022 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.4705, allocations: 228.1 kB / 0.6024 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.4709, allocations: 220 kB / 0.6027 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004723/0.4756, allocations: 2.663 MB / 0.6053 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.4757, allocations: 0 / 0.6053 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.4759, allocations: 91.98 kB / 0.6053 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.4759, allocations: 55.94 kB / 0.6054 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005559/0.4815, allocations: 3.314 MB / 0.6086 GB, free: 10 MB / 462.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.01489/0.4964, allocations: 8.683 MB / 0.6171 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.4994, allocations: 1.908 MB / 0.619 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.5009, allocations: 0.8546 MB / 0.6198 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01251/0.5134, allocations: 7.907 MB / 0.6275 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.5134, allocations: 47.86 kB / 0.6276 GB, free: 5.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=128): time 4.548e-06/0.5135, allocations: 0 / 0.6276 GB, free: 5.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03331/0.5468, allocations: 8.266 MB / 0.6356 GB, free: 12.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.5469, allocations: 95.11 kB / 0.6357 GB, free: 12.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.5488, allocations: 1.354 MB / 0.6371 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.5489, allocations: 53.7 kB / 0.6371 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008552/0.5498, allocations: 1.089 MB / 0.6382 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007023/0.5505, allocations: 0.6546 MB / 0.6388 GB, free: 9.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008343/0.5513, allocations: 489 kB / 0.6393 GB, free: 9.148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5515, allocations: 301.1 kB / 0.6396 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.5532, allocations: 0.8093 MB / 0.6404 GB, free: 8.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.5556, allocations: 1.654 MB / 0.642 GB, free: 5.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004222/0.5598, allocations: 2.61 MB / 0.6445 GB, free: 3.008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/0.5599, allocations: 8 kB / 0.6445 GB, free: 3 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007772/0.5676, allocations: 3.042 MB / 0.6475 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.5677, allocations: 19.94 kB / 0.6475 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.127e-05/0.5677, allocations: 31.94 kB / 0.6475 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003369/0.5711, allocations: 0.5146 MB / 0.6481 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/0.5751, allocations: 0.8036 MB / 0.6488 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.5853, allocations: 8.045 MB / 0.6567 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.5871, allocations: 88.11 kB / 0.6568 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004284/0.5876, allocations: 152 kB / 0.6569 GB, free: 5.656 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (311): * Single equations (assignments): 305 * 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,6), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001189/0.5887, allocations: 456.8 kB / 0.6574 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/0.5893, allocations: 170.9 kB / 0.6575 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007586/0.5969, allocations: 2.571 MB / 0.66 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.5969, allocations: 20 kB / 0.66 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5969, allocations: 0 / 0.66 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.5969, allocations: 11.95 kB / 0.6601 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.6078, allocations: 4.762 MB / 0.6647 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/0.6079, allocations: 12 kB / 0.6647 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.6096, allocations: 424.3 kB / 0.6651 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003447/0.613, allocations: 0.5508 MB / 0.6657 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.6132, allocations: 79.97 kB / 0.6657 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009175/0.6224, allocations: 7.84 MB / 0.6734 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-05/0.6224, allocations: 19.94 kB / 0.6734 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008041/0.6305, allocations: 3.462 MB / 0.6768 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.631, allocations: 252.1 kB / 0.677 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.6314, allocations: 52 kB / 0.6771 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6325, allocations: 51.98 kB / 0.6771 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/0.6329, allocations: 196.5 kB / 0.6773 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.6331, allocations: 91.97 kB / 0.6774 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001366/0.6344, allocations: 0.8928 MB / 0.6783 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6344, allocations: 3.938 kB / 0.6783 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004119/0.6386, allocations: 1.216 MB / 0.6795 GB, free: 13.44 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 8 (cathode.temperature,Ag.logn,anode.temperature,solution1.temperature,Cl.logn,AgCl.logn,H.logn,liquidWater.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 (198): * Single equations (assignments): 192 * 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,6), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003054/0.6416, allocations: 1.335 MB / 0.6808 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005405/0.647, allocations: 2.362 MB / 0.6831 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.647, allocations: 0 / 0.6831 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.6494, allocations: 1.364 MB / 0.6844 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.6516, allocations: 350.9 kB / 0.6848 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/0.659, allocations: 4.053 MB / 0.6887 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.6605, allocations: 1.433 MB / 0.6901 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001775/0.6623, allocations: 470.3 kB / 0.6906 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/0.663, allocations: 287.2 kB / 0.6908 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.663, allocations: 7.938 kB / 0.6908 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of Templates: time 0.2725/0.9356, allocations: 42.6 MB / 0.7324 GB, free: 170.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2271249569021165] Failed to read output from testmodel.py, exit status != 0: 0.9454745519906282 0.9640057 0.5005271099999999 Calling exit ...