Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.001438/0.001438, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001732/0.001732, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.992 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.131/0.131, allocations: 23.85 MB / 336.3 MB, free: 11.22 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [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.002135/0.002135, allocations: 70.88 kB / 471.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 59.85 MB / 0.5191 GB, free: 9.832 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.StandardElectrochemicalCell2): time 0.04403/0.3575, allocations: 27.81 MB / 0.5462 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02462/0.3822, allocations: 18.32 MB / 0.5641 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.3838, allocations: 23.81 kB / 0.5641 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.3855, allocations: 475.5 kB / 0.5646 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.3886, allocations: 0.8332 MB / 0.5654 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00929/0.3979, allocations: 2.858 MB / 0.5682 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003501/0.4014, allocations: 1.636 MB / 0.5698 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.4028, allocations: 0.739 MB / 0.5705 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.4041, allocations: 0.7245 MB / 0.5712 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.4057, allocations: 0.8133 MB / 0.572 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004309/0.4061, allocations: 140 kB / 0.5721 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.4125, allocations: 1.782 MB / 0.5739 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006354/0.4131, allocations: 362.8 kB / 0.5742 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.4145, allocations: 0.7466 MB / 0.575 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00892/0.4234, allocations: 3.575 MB / 0.5785 GB, free: 13.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4234, allocations: 0 / 0.5785 GB, free: 13.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4234, allocations: 0 / 0.5785 GB, free: 13.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.359e-05/0.4234, allocations: 11.92 kB / 0.5785 GB, free: 13.24 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.004187/0.4276, allocations: 1.897 MB / 0.5803 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4277, allocations: 8.031 kB / 0.5803 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.4293, allocations: 399.3 kB / 0.5807 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.4312, allocations: 0.9119 MB / 0.5816 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.4314, allocations: 197.5 kB / 0.5818 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.4317, allocations: 120 kB / 0.5819 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.4346, allocations: 1.664 MB / 0.5835 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.4347, allocations: 3.938 kB / 0.5835 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.4348, allocations: 55.94 kB / 0.5836 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.4348, allocations: 28 kB / 0.5836 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/0.4382, allocations: 2.124 MB / 0.5857 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008805/0.447, allocations: 5.392 MB / 0.5909 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.4483, allocations: 0.69 MB / 0.5916 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006074/0.4489, allocations: 328.4 kB / 0.5919 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006571/0.4555, allocations: 2.773 MB / 0.5946 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4555, allocations: 42.5 kB / 0.5947 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000336/0.4559, allocations: 75.25 kB / 0.5948 GB, free: 12.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.524e-06/0.4559, allocations: 0 / 0.5948 GB, free: 12.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00144/0.4573, allocations: 0.6084 MB / 0.5954 GB, free: 11.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/0.4574, allocations: 114.7 kB / 0.5955 GB, free: 11.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.459, allocations: 1.214 MB / 0.5966 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.459, allocations: 29.7 kB / 0.5967 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/0.4597, allocations: 0.7945 MB / 0.5974 GB, free: 9.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.4598, allocations: 146.9 kB / 0.5976 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003543/0.4602, allocations: 270.7 kB / 0.5978 GB, free: 8.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4604, allocations: 361.9 kB / 0.5982 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.4609, allocations: 326.5 kB / 0.5985 GB, free: 8.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.4621, allocations: 1.054 MB / 0.5995 GB, free: 6.793 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.4638, allocations: 1.403 MB / 0.6009 GB, free: 5.023 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.4639, allocations: 4 kB / 0.6009 GB, free: 5.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002456/0.4663, allocations: 1.46 MB / 0.6023 GB, free: 3.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.4663, allocations: 16 kB / 0.6023 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.474e-05/0.4664, allocations: 31.94 kB / 0.6024 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.467, allocations: 154 kB / 0.6025 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.4682, allocations: 371.4 kB / 0.6029 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.4715, allocations: 3.862 MB / 0.6067 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000841/0.4723, allocations: 80.05 kB / 0.6067 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.4725, allocations: 95.98 kB / 0.6068 GB, free: 14.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * 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.0004959/0.473, allocations: 305.1 kB / 0.6071 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.4732, allocations: 103.4 kB / 0.6072 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.4749, allocations: 0.8699 MB / 0.6081 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4749, allocations: 4 kB / 0.6081 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4749, allocations: 0 / 0.6081 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4749, allocations: 3.938 kB / 0.6081 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.4771, allocations: 1.231 MB / 0.6093 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4771, allocations: 4 kB / 0.6093 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.4773, allocations: 68.08 kB / 0.6093 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000721/0.4781, allocations: 171 kB / 0.6095 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.4781, allocations: 20 kB / 0.6095 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/0.4812, allocations: 3.737 MB / 0.6132 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4812, allocations: 8.094 kB / 0.6132 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.4824, allocations: 0.8636 MB / 0.614 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.4826, allocations: 91.28 kB / 0.6141 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.4828, allocations: 8 kB / 0.6141 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.4831, allocations: 12.06 kB / 0.6141 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.4832, allocations: 47.81 kB / 0.6142 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.4832, allocations: 12 kB / 0.6142 GB, free: 6.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001147/0.4844, allocations: 0.8966 MB / 0.6151 GB, free: 5.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4844, allocations: 0 / 0.6151 GB, free: 5.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001822/0.4862, allocations: 0.6306 MB / 0.6157 GB, free: 5.098 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 23 * 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.001442/0.4876, allocations: 0.7429 MB / 0.6164 GB, free: 4.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.4892, allocations: 0.7672 MB / 0.6171 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4892, allocations: 3.938 kB / 0.6172 GB, free: 3.578 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.4898, allocations: 388.7 kB / 0.6175 GB, free: 3.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.4907, allocations: 177.7 kB / 0.6177 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.4937, allocations: 1.85 MB / 0.6195 GB, free: 1.105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/0.4944, allocations: 1.067 MB / 0.6205 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007797/0.4952, allocations: 275 kB / 0.6208 GB, free: 15.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.4955, allocations: 139.4 kB / 0.6209 GB, free: 15.62 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4955, allocations: 4 kB / 0.6209 GB, free: 15.62 MB / 478.1 MB Notification: Performance of Templates: time 0.03376/0.5292, allocations: 20.14 MB / 0.6406 GB, free: 11.53 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.344613086199388] Failed to read output from testmodel.py, exit status != 0: 0.5385856819339097 0.5525963030000001 0.126060094 Calling exit ...