Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.001435/0.001435, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001458/0.001458, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1433/0.1433, allocations: 23.86 MB / 332.7 MB, free: 12.36 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [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.003433/0.003433, allocations: 63.91 kB / 466.5 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3152, allocations: 59.82 MB / 0.5139 GB, free: 9.18 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.CheckSubstancesData.StandardElectrochemicalCell): time 0.0394/0.3546, allocations: 28.14 MB / 0.5414 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02787/0.3825, allocations: 21.71 MB / 0.5626 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.3837, allocations: 31.69 kB / 0.5627 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3853, allocations: 0.5361 MB / 0.5632 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.3885, allocations: 0.9973 MB / 0.5642 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009184/0.3976, allocations: 3.315 MB / 0.5674 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00298/0.4006, allocations: 1.809 MB / 0.5692 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.4017, allocations: 0.7702 MB / 0.5699 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.4027, allocations: 0.8102 MB / 0.5707 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.4039, allocations: 0.895 MB / 0.5716 GB, free: 172 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.4042, allocations: 148 kB / 0.5717 GB, free: 24 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006985/0.4112, allocations: 2.09 MB / 0.5738 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005705/0.4117, allocations: 382.8 kB / 0.5741 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.4127, allocations: 0.8087 MB / 0.5749 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009676/0.4224, allocations: 4.066 MB / 0.5789 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4224, allocations: 0 / 0.5789 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4224, allocations: 0 / 0.5789 GB, free: 8.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.64e-05/0.4225, allocations: 0 / 0.5789 GB, free: 8.66 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.003748/0.4262, allocations: 2.147 MB / 0.581 GB, free: 6.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4262, allocations: 8.031 kB / 0.581 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.4282, allocations: 447.1 kB / 0.5814 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.4301, allocations: 1.056 MB / 0.5824 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.4303, allocations: 162.3 kB / 0.5826 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.4306, allocations: 124 kB / 0.5827 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/0.4336, allocations: 1.748 MB / 0.5844 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.4336, allocations: 4 kB / 0.5844 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.4338, allocations: 48 kB / 0.5845 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.4338, allocations: 32 kB / 0.5845 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.4377, allocations: 2.315 MB / 0.5868 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008738/0.4464, allocations: 5.595 MB / 0.5922 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.4479, allocations: 0.7016 MB / 0.5929 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/0.4486, allocations: 336.4 kB / 0.5932 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008889/0.4575, allocations: 5.716 MB / 0.5988 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.4575, allocations: 42.5 kB / 0.5989 GB, free: 3.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.803e-06/0.4575, allocations: 0 / 0.5989 GB, free: 3.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001702/0.4592, allocations: 0.798 MB / 0.5996 GB, free: 2.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.4593, allocations: 118.9 kB / 0.5998 GB, free: 2.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.461, allocations: 1.287 MB / 0.601 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.461, allocations: 37.7 kB / 0.601 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/0.4617, allocations: 0.8648 MB / 0.6019 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.4619, allocations: 154.8 kB / 0.602 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/0.4623, allocations: 299.3 kB / 0.6023 GB, free: 15.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4625, allocations: 357.9 kB / 0.6027 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/0.4631, allocations: 335.8 kB / 0.603 GB, free: 14.74 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.4646, allocations: 1.156 MB / 0.6041 GB, free: 13.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.4667, allocations: 1.538 MB / 0.6056 GB, free: 11.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.4667, allocations: 8 kB / 0.6056 GB, free: 11.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0027/0.4694, allocations: 1.544 MB / 0.6071 GB, free: 9.664 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.4694, allocations: 22.66 kB / 0.6072 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/0.4695, allocations: 31.75 kB / 0.6072 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/0.4701, allocations: 157.4 kB / 0.6073 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.4714, allocations: 403.5 kB / 0.6077 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.4751, allocations: 4.065 MB / 0.6117 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4761, allocations: 194.8 kB / 0.6119 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.4763, allocations: 104 kB / 0.612 GB, free: 4.363 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005122/0.4768, allocations: 324.2 kB / 0.6123 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.477, allocations: 127.2 kB / 0.6124 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.479, allocations: 0.9404 MB / 0.6133 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.479, allocations: 4 kB / 0.6133 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.479, allocations: 4 kB / 0.6133 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.479, allocations: 4 kB / 0.6133 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.4814, allocations: 1.376 MB / 0.6147 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.4815, allocations: 7.984 kB / 0.6147 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.4817, allocations: 59.92 kB / 0.6147 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008002/0.4825, allocations: 171.6 kB / 0.6149 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.4826, allocations: 12 kB / 0.6149 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/0.4859, allocations: 3.959 MB / 0.6188 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4859, allocations: 4 kB / 0.6188 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4874, allocations: 0.9096 MB / 0.6197 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.4876, allocations: 188.3 kB / 0.6199 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4878, allocations: 19.89 kB / 0.6199 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.4882, allocations: 12.06 kB / 0.6199 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.4882, allocations: 43.83 kB / 0.6199 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.4883, allocations: 20 kB / 0.6199 GB, free: 11.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.4896, allocations: 0.9508 MB / 0.6209 GB, free: 10.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4896, allocations: 0 / 0.6209 GB, free: 10.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002124/0.4917, allocations: 0.7123 MB / 0.6216 GB, free: 9.957 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/0.4932, allocations: 0.8559 MB / 0.6224 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.495, allocations: 0.8098 MB / 0.6232 GB, free: 8.285 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.495, allocations: 0 / 0.6232 GB, free: 8.285 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.4956, allocations: 386.9 kB / 0.6236 GB, free: 7.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4967, allocations: 195.6 kB / 0.6237 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.4999, allocations: 1.997 MB / 0.6257 GB, free: 5.629 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008363/0.5007, allocations: 1.091 MB / 0.6268 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008793/0.5016, allocations: 313.9 kB / 0.6271 GB, free: 4.223 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.5019, allocations: 163.3 kB / 0.6272 GB, free: 4.062 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5019, allocations: 0 / 0.6272 GB, free: 4.062 MB / 478.1 MB Notification: Performance of Templates: time 0.03732/0.5392, allocations: 21.97 MB / 0.6487 GB, free: 14.16 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.64735397323966] Failed to read output from testmodel.py, exit status != 0: 0.551420696079731 0.572573532 0.14479101800000002 Calling exit ...