Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001305/0.001305, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001475/0.001475, allocations: 210.8 kB / 22.98 MB, free: 4.984 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1347/0.1347, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002048/0.002048, allocations: 71.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 59.88 MB / 0.5198 GB, free: 9.77 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.CheckSubstancesData.StandardElectrochemicalCell2): time 0.07056/0.3505, allocations: 27.02 MB / 0.5462 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.372, allocations: 16.04 MB / 0.5619 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.373, allocations: 27.75 kB / 0.5619 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.3742, allocations: 431 kB / 0.5623 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.3765, allocations: 0.8068 MB / 0.5631 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007357/0.3839, allocations: 2.85 MB / 0.5659 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.3861, allocations: 1.637 MB / 0.5675 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009205/0.387, allocations: 0.7428 MB / 0.5682 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007731/0.3878, allocations: 0.7284 MB / 0.5689 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009912/0.3888, allocations: 0.8133 MB / 0.5697 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.389, allocations: 144 kB / 0.5699 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/0.393, allocations: 1.716 MB / 0.5715 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.3934, allocations: 358.9 kB / 0.5719 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006443/0.394, allocations: 0.6223 MB / 0.5725 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005399/0.3994, allocations: 3.564 MB / 0.576 GB, free: 268 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3994, allocations: 0 / 0.576 GB, free: 268 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3994, allocations: 3.938 kB / 0.576 GB, free: 264 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.3995, allocations: 0 / 0.576 GB, free: 264 kB / 414.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.003172/0.4026, allocations: 1.901 MB / 0.5778 GB, free: 14.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4027, allocations: 8.031 kB / 0.5778 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.4043, allocations: 399.1 kB / 0.5782 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.406, allocations: 0.9081 MB / 0.5791 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.4062, allocations: 201.5 kB / 0.5793 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.4064, allocations: 124 kB / 0.5794 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.4091, allocations: 1.66 MB / 0.581 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.4091, allocations: 4 kB / 0.581 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.4093, allocations: 52 kB / 0.5811 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.4093, allocations: 32 kB / 0.5811 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.4125, allocations: 2.104 MB / 0.5832 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00761/0.4201, allocations: 4.698 MB / 0.5878 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.4214, allocations: 0.6782 MB / 0.5884 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.422, allocations: 336.3 kB / 0.5887 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006551/0.4286, allocations: 2.651 MB / 0.5913 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4286, allocations: 38.56 kB / 0.5914 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002469/0.4288, allocations: 71.3 kB / 0.5914 GB, free: 64 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.4288, allocations: 4 kB / 0.5914 GB, free: 60 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001393/0.4302, allocations: 0.6005 MB / 0.592 GB, free: 15.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.4303, allocations: 106.8 kB / 0.5921 GB, free: 15.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.4316, allocations: 1.162 MB / 0.5933 GB, free: 14.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.4317, allocations: 37.7 kB / 0.5933 GB, free: 14.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.4322, allocations: 0.8021 MB / 0.5941 GB, free: 13.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.4324, allocations: 143.2 kB / 0.5942 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.4327, allocations: 290.5 kB / 0.5945 GB, free: 12.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.433, allocations: 402.7 kB / 0.5949 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.4335, allocations: 322.5 kB / 0.5952 GB, free: 12.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.4346, allocations: 1.054 MB / 0.5962 GB, free: 10.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.4362, allocations: 1.403 MB / 0.5976 GB, free: 8.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.4363, allocations: 8 kB / 0.5976 GB, free: 8.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00228/0.4385, allocations: 1.448 MB / 0.599 GB, free: 7.477 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.4386, allocations: 16 kB / 0.599 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.4386, allocations: 24 kB / 0.599 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.4392, allocations: 157.3 kB / 0.5992 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4404, allocations: 383.7 kB / 0.5996 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.4435, allocations: 3.812 MB / 0.6033 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.4442, allocations: 76.23 kB / 0.6034 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.4444, allocations: 87.98 kB / 0.6034 GB, free: 2.668 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.0004387/0.4448, allocations: 313.1 kB / 0.6037 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.445, allocations: 99.34 kB / 0.6038 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4467, allocations: 0.8516 MB / 0.6047 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.4467, allocations: 4 kB / 0.6047 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4467, allocations: 0 / 0.6047 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4467, allocations: 3.938 kB / 0.6047 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.4486, allocations: 1.061 MB / 0.6057 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4486, allocations: 8.031 kB / 0.6057 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.4488, allocations: 55.91 kB / 0.6058 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000743/0.4496, allocations: 171.3 kB / 0.6059 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.4496, allocations: 12 kB / 0.6059 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.4526, allocations: 3.706 MB / 0.6096 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4526, allocations: 0 / 0.6096 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.4538, allocations: 0.8581 MB / 0.6104 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.454, allocations: 83.41 kB / 0.6105 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.4541, allocations: 16.19 kB / 0.6105 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.4545, allocations: 8 kB / 0.6105 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.4545, allocations: 31.95 kB / 0.6105 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.4546, allocations: 23.98 kB / 0.6106 GB, free: 10.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009985/0.4556, allocations: 0.8113 MB / 0.6113 GB, free: 10.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4556, allocations: 0 / 0.6113 GB, free: 10.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001792/0.4574, allocations: 0.6461 MB / 0.612 GB, free: 9.457 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.001235/0.4586, allocations: 0.7419 MB / 0.6127 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.4601, allocations: 0.7788 MB / 0.6135 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4602, allocations: 0 / 0.6135 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.4607, allocations: 369.2 kB / 0.6138 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.4616, allocations: 157 kB / 0.614 GB, free: 7.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.4643, allocations: 1.839 MB / 0.6158 GB, free: 5.504 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.4648, allocations: 484.5 kB / 0.6162 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000753/0.4656, allocations: 278.5 kB / 0.6165 GB, free: 4.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.4658, allocations: 123.4 kB / 0.6166 GB, free: 4.621 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4658, allocations: 4 kB / 0.6166 GB, free: 4.617 MB / 462.1 MB Notification: Performance of Templates: time 0.03194/0.4978, allocations: 20.28 MB / 0.6364 GB, free: 468 kB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.239289188990369] Failed to read output from testmodel.py, exit status != 0: 0.5063255839922931 0.5203121900000001 0.11784253300000001 Calling exit ...