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.00146/0.00146, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001688/0.001688, allocations: 218.1 kB / 22.25 MB, free: 5.105 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.828 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.1518/0.1518, allocations: 23.93 MB / 336.4 MB, free: 10.93 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.00217/0.00217, allocations: 71.91 kB / 471.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3068, allocations: 59.88 MB / 0.5191 GB, free: 9.789 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.07602/0.3828, allocations: 27.08 MB / 0.5455 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02418/0.407, allocations: 16.03 MB / 0.5612 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.4087, allocations: 23.81 kB / 0.5612 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.4106, allocations: 431.3 kB / 0.5616 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.4142, allocations: 0.799 MB / 0.5624 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.4243, allocations: 2.862 MB / 0.5652 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003929/0.4282, allocations: 1.628 MB / 0.5668 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.4303, allocations: 0.7429 MB / 0.5675 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.4323, allocations: 0.7245 MB / 0.5682 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.4342, allocations: 0.8172 MB / 0.569 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.4345, allocations: 144 kB / 0.5692 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005953/0.4404, allocations: 1.712 MB / 0.5708 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005698/0.441, allocations: 362.8 kB / 0.5712 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009019/0.4419, allocations: 0.6185 MB / 0.5718 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008404/0.4503, allocations: 3.572 MB / 0.5753 GB, free: 204 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4503, allocations: 0 / 0.5753 GB, free: 204 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4503, allocations: 0 / 0.5753 GB, free: 204 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.4503, allocations: 0 / 0.5753 GB, free: 204 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.003406/0.4537, allocations: 1.901 MB / 0.5771 GB, free: 14.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4538, allocations: 8.031 kB / 0.5771 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.4555, allocations: 395.1 kB / 0.5775 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.4573, allocations: 0.912 MB / 0.5784 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.4575, allocations: 209.4 kB / 0.5786 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.4577, allocations: 119.9 kB / 0.5787 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.4605, allocations: 1.664 MB / 0.5803 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.4605, allocations: 3.938 kB / 0.5804 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.4606, allocations: 52 kB / 0.5804 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.4607, allocations: 31.98 kB / 0.5804 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.464, allocations: 2.096 MB / 0.5825 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008301/0.4723, allocations: 4.702 MB / 0.5871 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.4737, allocations: 0.6743 MB / 0.5877 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.4743, allocations: 340.4 kB / 0.5881 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006833/0.4811, allocations: 2.647 MB / 0.5906 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.4812, allocations: 42.5 kB / 0.5907 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002964/0.4815, allocations: 71.36 kB / 0.5907 GB, free: 0 / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.4815, allocations: 0 / 0.5907 GB, free: 0 / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001432/0.4829, allocations: 0.6005 MB / 0.5913 GB, free: 15.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.483, allocations: 118.7 kB / 0.5914 GB, free: 15.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.4844, allocations: 1.158 MB / 0.5926 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.4844, allocations: 29.7 kB / 0.5926 GB, free: 14.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.485, allocations: 0.81 MB / 0.5934 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.4852, allocations: 143.2 kB / 0.5935 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.4855, allocations: 282.7 kB / 0.5938 GB, free: 12.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.4858, allocations: 402.7 kB / 0.5942 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.4863, allocations: 322.5 kB / 0.5945 GB, free: 12.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.4874, allocations: 1.058 MB / 0.5955 GB, free: 10.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.4891, allocations: 1.399 MB / 0.5969 GB, free: 8.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.4892, allocations: 8 kB / 0.5969 GB, free: 8.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002386/0.4915, allocations: 1.448 MB / 0.5983 GB, free: 7.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4916, allocations: 16 kB / 0.5983 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.4916, allocations: 24 kB / 0.5984 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/0.4923, allocations: 157.3 kB / 0.5985 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4935, allocations: 379.7 kB / 0.5989 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/0.4968, allocations: 3.812 MB / 0.6026 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.4977, allocations: 76.23 kB / 0.6027 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.4978, allocations: 91.98 kB / 0.6027 GB, free: 2.609 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.0005239/0.4984, allocations: 317.1 kB / 0.603 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.4986, allocations: 99.34 kB / 0.6031 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.5004, allocations: 0.8508 MB / 0.604 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.5004, allocations: 4 kB / 0.604 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.5004, allocations: 0 / 0.604 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5004, allocations: 0 / 0.604 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.5024, allocations: 1.058 MB / 0.605 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5024, allocations: 11.97 kB / 0.605 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.5027, allocations: 55.91 kB / 0.6051 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008232/0.5035, allocations: 175.2 kB / 0.6052 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.5035, allocations: 16 kB / 0.6053 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.5068, allocations: 3.699 MB / 0.6089 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5068, allocations: 0 / 0.6089 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.5082, allocations: 0.8505 MB / 0.6097 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.5085, allocations: 83.62 kB / 0.6098 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.5086, allocations: 15.94 kB / 0.6098 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.509, allocations: 8 kB / 0.6098 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.509, allocations: 43.81 kB / 0.6098 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.5091, allocations: 12 kB / 0.6099 GB, free: 10.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.5102, allocations: 0.823 MB / 0.6107 GB, free: 10.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5102, allocations: 0 / 0.6107 GB, free: 10.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002299/0.5125, allocations: 0.6422 MB / 0.6113 GB, free: 9.398 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.001691/0.5142, allocations: 0.7458 MB / 0.612 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.5161, allocations: 0.7749 MB / 0.6128 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5161, allocations: 0 / 0.6128 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006082/0.5167, allocations: 374.7 kB / 0.6131 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.5178, allocations: 159.4 kB / 0.6133 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.521, allocations: 1.847 MB / 0.6151 GB, free: 5.434 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.5216, allocations: 480.5 kB / 0.6155 GB, free: 4.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008086/0.5224, allocations: 270.4 kB / 0.6158 GB, free: 4.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.5227, allocations: 135.3 kB / 0.6159 GB, free: 4.551 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5227, allocations: 0 / 0.6159 GB, free: 4.551 MB / 462.1 MB Notification: Performance of Templates: time 0.03511/0.5578, allocations: 20.27 MB / 0.6357 GB, free: 404 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.770849330816418] Failed to read output from testmodel.py, exit status != 0: 0.5669702459126711 0.581308608 0.12761829700000002 Calling exit ...