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.001275/0.001275, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001359/0.001359, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.373/1.373, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] 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.1228/0.1228, allocations: 17.36 MB / 277.1 MB, free: 15.27 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.001974/0.001974, allocations: 67.89 kB / 412.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 59.85 MB / 472.3 MB, free: 9.742 MB / 446.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.4214/0.5329, allocations: 27.16 MB / 499.5 MB, free: 38.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.5469, allocations: 16.03 MB / 0.5034 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007808/0.5477, allocations: 22.28 kB / 0.5034 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5487, allocations: 437.6 kB / 0.5038 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.5505, allocations: 0.8123 MB / 0.5046 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006238/0.5567, allocations: 2.843 MB / 0.5074 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.5586, allocations: 1.636 MB / 0.509 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007631/0.5594, allocations: 0.727 MB / 0.5097 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007307/0.5601, allocations: 0.7256 MB / 0.5104 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009346/0.561, allocations: 0.733 MB / 0.5111 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.5612, allocations: 141.2 kB / 0.5113 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.5654, allocations: 1.672 MB / 0.5129 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.5658, allocations: 363.5 kB / 0.5133 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007516/0.5665, allocations: 0.6154 MB / 0.5139 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006021/0.5725, allocations: 3.57 MB / 0.5173 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5726, allocations: 4 kB / 0.5173 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5726, allocations: 1.25 kB / 0.5173 GB, free: 23.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.5726, allocations: 0 / 0.5173 GB, free: 23.84 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.00284/0.5754, allocations: 1.893 MB / 0.5192 GB, free: 22.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5755, allocations: 12.91 kB / 0.5192 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.5769, allocations: 401 kB / 0.5196 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.5783, allocations: 0.9148 MB / 0.5205 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.5784, allocations: 205.1 kB / 0.5207 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.5786, allocations: 118.3 kB / 0.5208 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.5807, allocations: 1.663 MB / 0.5224 GB, free: 21.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.5807, allocations: 0 / 0.5224 GB, free: 21.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.5809, allocations: 51.59 kB / 0.5225 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.5809, allocations: 33.31 kB / 0.5225 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.5834, allocations: 2.102 MB / 0.5245 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005867/0.5893, allocations: 4.7 MB / 0.5291 GB, free: 17.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.5902, allocations: 0.6863 MB / 0.5298 GB, free: 17.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.5906, allocations: 330.1 kB / 0.5301 GB, free: 17.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00484/0.5955, allocations: 2.661 MB / 0.5327 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.5955, allocations: 33.97 kB / 0.5328 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002124/0.5957, allocations: 69.02 kB / 0.5328 GB, free: 15.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.5957, allocations: 0 / 0.5328 GB, free: 15.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00108/0.5968, allocations: 0.6025 MB / 0.5334 GB, free: 15.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.5968, allocations: 108.5 kB / 0.5335 GB, free: 15.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008757/0.5977, allocations: 1.156 MB / 0.5346 GB, free: 15.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.5977, allocations: 40.36 kB / 0.5347 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.598, allocations: 0.8056 MB / 0.5355 GB, free: 14.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.5981, allocations: 143 kB / 0.5356 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.5983, allocations: 277.8 kB / 0.5359 GB, free: 14.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.5984, allocations: 402.7 kB / 0.5363 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.5988, allocations: 326.7 kB / 0.5366 GB, free: 13.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.5995, allocations: 1.048 MB / 0.5376 GB, free: 12.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.6006, allocations: 1.41 MB / 0.539 GB, free: 11.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.6006, allocations: 8 kB / 0.539 GB, free: 11.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001665/0.6022, allocations: 1.449 MB / 0.5404 GB, free: 9.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6023, allocations: 23.94 kB / 0.5404 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.6023, allocations: 24.84 kB / 0.5404 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.6028, allocations: 156.7 kB / 0.5406 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.6037, allocations: 371.8 kB / 0.5409 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.6054, allocations: 3.809 MB / 0.5447 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.6061, allocations: 72.67 kB / 0.5447 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.512e-05/0.6062, allocations: 92.03 kB / 0.5448 GB, free: 5.184 MB / 446.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.0003208/0.6065, allocations: 319.6 kB / 0.5451 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.6067, allocations: 99.91 kB / 0.5452 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.608, allocations: 0.8493 MB / 0.546 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.608, allocations: 3.984 kB / 0.546 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.608, allocations: 8 kB / 0.5461 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.608, allocations: 1.453 kB / 0.5461 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.6094, allocations: 1.067 MB / 0.5471 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6094, allocations: 4.891 kB / 0.5471 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.6097, allocations: 64.91 kB / 0.5472 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006081/0.6103, allocations: 177.5 kB / 0.5473 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.6103, allocations: 13.17 kB / 0.5473 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.6123, allocations: 3.688 MB / 0.5509 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6123, allocations: 3.938 kB / 0.551 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.6134, allocations: 0.8579 MB / 0.5518 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.6136, allocations: 86.19 kB / 0.5519 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6137, allocations: 13.3 kB / 0.5519 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.614, allocations: 8.609 kB / 0.5519 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.6141, allocations: 36.73 kB / 0.5519 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.6141, allocations: 17.31 kB / 0.5519 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.6151, allocations: 0.816 MB / 0.5527 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6151, allocations: 0 / 0.5527 GB, free: 13.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00189/0.617, allocations: 0.6397 MB / 0.5534 GB, free: 12.58 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.001177/0.6182, allocations: 0.7435 MB / 0.5541 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.6197, allocations: 0.7734 MB / 0.5548 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6197, allocations: 4 kB / 0.5549 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.6202, allocations: 380.8 kB / 0.5552 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008766/0.6211, allocations: 149.9 kB / 0.5554 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.6237, allocations: 1.839 MB / 0.5572 GB, free: 8.934 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.6243, allocations: 484.5 kB / 0.5576 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007065/0.625, allocations: 270.9 kB / 0.5579 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.6252, allocations: 131.1 kB / 0.558 GB, free: 8.246 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.6252, allocations: 0 / 0.558 GB, free: 8.246 MB / 462.1 MB Notification: Performance of Templates: time 0.03041/0.6556, allocations: 18.33 MB / 0.5759 GB, free: 8.391 MB / 478.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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.33017276704777] Failed to read output from testmodel.py, exit status != 0: 0.6641727950191125 0.677767216 0.10218036200000001 Calling exit ...