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.001666/0.001666, allocations: 109.4 kB / 16.46 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.001778/0.001778, allocations: 212.8 kB / 19.43 MB, free: 3.734 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.1393/0.1393, allocations: 23.85 MB / 332.7 MB, free: 12.37 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.002157/0.002157, allocations: 60.19 kB / 466.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3134, allocations: 59.82 MB / 0.514 GB, free: 9.176 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.03835/0.3518, allocations: 27.54 MB / 0.5408 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02419/0.376, allocations: 18.28 MB / 0.5587 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.3772, allocations: 27.75 kB / 0.5587 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.3786, allocations: 471.5 kB / 0.5592 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.3814, allocations: 0.8392 MB / 0.56 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008551/0.3899, allocations: 2.824 MB / 0.5627 GB, free: 8.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002941/0.3929, allocations: 1.631 MB / 0.5643 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.3941, allocations: 0.7576 MB / 0.5651 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009722/0.395, allocations: 0.7301 MB / 0.5658 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.3962, allocations: 0.8172 MB / 0.5666 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.3964, allocations: 140 kB / 0.5667 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00559/0.402, allocations: 1.775 MB / 0.5685 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005079/0.4025, allocations: 366.8 kB / 0.5688 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009401/0.4035, allocations: 0.7505 MB / 0.5695 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008402/0.4119, allocations: 3.579 MB / 0.573 GB, free: 14.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4119, allocations: 0 / 0.573 GB, free: 14.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4119, allocations: 0 / 0.573 GB, free: 14.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.4119, allocations: 3.938 kB / 0.573 GB, free: 14.71 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.003617/0.4155, allocations: 1.968 MB / 0.575 GB, free: 12.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4155, allocations: 16.03 kB / 0.575 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.4173, allocations: 391.3 kB / 0.5753 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.419, allocations: 0.9815 MB / 0.5763 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.4192, allocations: 154.1 kB / 0.5765 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.4194, allocations: 120 kB / 0.5766 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.4223, allocations: 1.657 MB / 0.5782 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.4223, allocations: 0 / 0.5782 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.4225, allocations: 48 kB / 0.5782 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.4225, allocations: 31.94 kB / 0.5783 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.426, allocations: 2.116 MB / 0.5803 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008911/0.4349, allocations: 5.441 MB / 0.5856 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.4364, allocations: 0.6938 MB / 0.5863 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.4371, allocations: 328.4 kB / 0.5866 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008374/0.4454, allocations: 5.051 MB / 0.5916 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.4455, allocations: 38.56 kB / 0.5916 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003223/0.4458, allocations: 75.25 kB / 0.5917 GB, free: 10.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.595e-06/0.4458, allocations: 0 / 0.5917 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001621/0.4474, allocations: 0.7622 MB / 0.5924 GB, free: 9.797 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.4475, allocations: 106.8 kB / 0.5925 GB, free: 9.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.4491, allocations: 1.203 MB / 0.5937 GB, free: 8.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.4491, allocations: 33.7 kB / 0.5937 GB, free: 8.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.4498, allocations: 0.7987 MB / 0.5945 GB, free: 7.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.4499, allocations: 142.9 kB / 0.5946 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/0.4503, allocations: 274.7 kB / 0.5949 GB, free: 7.188 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4505, allocations: 353.9 kB / 0.5952 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.4511, allocations: 322.4 kB / 0.5956 GB, free: 6.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.4523, allocations: 1.05 MB / 0.5966 GB, free: 5.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.4543, allocations: 1.399 MB / 0.5979 GB, free: 3.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.4543, allocations: 12 kB / 0.598 GB, free: 3.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00262/0.4569, allocations: 1.437 MB / 0.5994 GB, free: 1.875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.4569, allocations: 16 kB / 0.5994 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.457, allocations: 31.94 kB / 0.5994 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006993/0.4577, allocations: 149.7 kB / 0.5995 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4589, allocations: 367.4 kB / 0.5999 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.4627, allocations: 4.085 MB / 0.6039 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009618/0.4636, allocations: 67.86 kB / 0.6039 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.4638, allocations: 91.98 kB / 0.604 GB, free: 12.73 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.0005271/0.4643, allocations: 317.2 kB / 0.6043 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.4646, allocations: 111.2 kB / 0.6044 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.4665, allocations: 0.8549 MB / 0.6053 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.4665, allocations: 4 kB / 0.6053 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4665, allocations: 0 / 0.6053 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.4665, allocations: 11.98 kB / 0.6053 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.4688, allocations: 1.259 MB / 0.6065 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.4688, allocations: 0 / 0.6065 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.4691, allocations: 59.91 kB / 0.6066 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008264/0.47, allocations: 183.2 kB / 0.6068 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.47, allocations: 12 kB / 0.6068 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/0.4735, allocations: 3.959 MB / 0.6106 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.4735, allocations: 4.031 kB / 0.6106 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.475, allocations: 0.8648 MB / 0.6115 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.4753, allocations: 172.4 kB / 0.6116 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.4754, allocations: 8 kB / 0.6117 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.4758, allocations: 8 kB / 0.6117 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.4759, allocations: 39.83 kB / 0.6117 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.4759, allocations: 20 kB / 0.6117 GB, free: 4.309 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.4772, allocations: 0.8849 MB / 0.6126 GB, free: 3.418 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4772, allocations: 0 / 0.6126 GB, free: 3.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002008/0.4792, allocations: 0.6306 MB / 0.6132 GB, free: 2.785 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.001433/0.4806, allocations: 0.7431 MB / 0.6139 GB, free: 2.031 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.4825, allocations: 0.7712 MB / 0.6147 GB, free: 1.266 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4825, allocations: 0 / 0.6147 GB, free: 1.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.4831, allocations: 383.5 kB / 0.615 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.4842, allocations: 171.8 kB / 0.6152 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.4873, allocations: 1.842 MB / 0.617 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.4881, allocations: 1.063 MB / 0.618 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008499/0.489, allocations: 290 kB / 0.6183 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.4892, allocations: 131.4 kB / 0.6184 GB, free: 13.32 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4892, allocations: 0 / 0.6184 GB, free: 13.32 MB / 478.1 MB Notification: Performance of Templates: time 0.03553/0.5248, allocations: 19.51 MB / 0.6375 GB, free: 9.867 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.583008013665676] Failed to read output from testmodel.py, exit status != 0: 0.5334851443767548 0.547404845 0.13232374800000002 Calling exit ...