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.001328/0.001328, 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.001447/0.001447, allocations: 207.9 kB / 22.99 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1288/0.1288, allocations: 23.92 MB / 337.1 MB, free: 10.96 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.002079/0.002079, allocations: 67.89 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 59.88 MB / 0.5198 GB, free: 9.711 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.06972/0.3872, allocations: 27.01 MB / 0.5462 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.4098, allocations: 16.04 MB / 0.5619 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.4117, allocations: 31.69 kB / 0.5619 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.4133, allocations: 431.9 kB / 0.5623 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.4166, allocations: 0.8062 MB / 0.5631 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009423/0.426, allocations: 2.851 MB / 0.5659 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002963/0.429, allocations: 1.642 MB / 0.5675 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.43, allocations: 0.735 MB / 0.5682 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008145/0.4308, allocations: 0.7284 MB / 0.5689 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.4319, allocations: 0.8172 MB / 0.5697 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.4321, allocations: 140 kB / 0.5699 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00551/0.4376, allocations: 1.716 MB / 0.5715 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.438, allocations: 354.9 kB / 0.5719 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006946/0.4387, allocations: 0.6224 MB / 0.5725 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00723/0.4459, allocations: 3.568 MB / 0.576 GB, free: 296 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4459, allocations: 7.938 kB / 0.576 GB, free: 288 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4459, allocations: 0 / 0.576 GB, free: 288 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.446, allocations: 0 / 0.576 GB, free: 288 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.003313/0.4493, allocations: 1.893 MB / 0.5778 GB, free: 14.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4493, allocations: 16.02 kB / 0.5778 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.4509, allocations: 395.1 kB / 0.5782 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.4528, allocations: 0.912 MB / 0.5791 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.453, allocations: 201.5 kB / 0.5793 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.4532, allocations: 116 kB / 0.5794 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.4558, allocations: 1.664 MB / 0.581 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.4558, allocations: 7.984 kB / 0.581 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.456, allocations: 52 kB / 0.5811 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.456, allocations: 32 kB / 0.5811 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.4591, allocations: 2.096 MB / 0.5832 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007717/0.4668, allocations: 4.702 MB / 0.5878 GB, free: 3.922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4682, allocations: 0.6782 MB / 0.5884 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.4687, allocations: 332.4 kB / 0.5887 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006653/0.4754, allocations: 2.647 MB / 0.5913 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4754, allocations: 38.56 kB / 0.5914 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003024/0.4757, allocations: 71.3 kB / 0.5914 GB, free: 100 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.4757, allocations: 0 / 0.5914 GB, free: 100 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.00143/0.4772, allocations: 0.6043 MB / 0.592 GB, free: 15.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.4773, allocations: 107.1 kB / 0.5921 GB, free: 15.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.4787, allocations: 1.162 MB / 0.5933 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.4787, allocations: 37.7 kB / 0.5933 GB, free: 14.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.4793, allocations: 0.8061 MB / 0.5941 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4794, allocations: 142.9 kB / 0.5942 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.4798, allocations: 278.7 kB / 0.5945 GB, free: 12.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.48, allocations: 402.7 kB / 0.5949 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.4805, allocations: 334.4 kB / 0.5952 GB, free: 12.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.4817, allocations: 1.05 MB / 0.5962 GB, free: 10.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.4834, allocations: 1.399 MB / 0.5976 GB, free: 8.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.4834, allocations: 8 kB / 0.5976 GB, free: 8.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002277/0.4857, allocations: 1.455 MB / 0.599 GB, free: 7.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.4857, allocations: 16 kB / 0.599 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/0.4858, allocations: 28 kB / 0.599 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.4864, allocations: 158.1 kB / 0.5992 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4875, allocations: 375.4 kB / 0.5995 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.4907, allocations: 3.82 MB / 0.6033 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.4916, allocations: 71.84 kB / 0.6033 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.4917, allocations: 91.98 kB / 0.6034 GB, free: 2.695 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.0004883/0.4922, allocations: 313.2 kB / 0.6037 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.4924, allocations: 95.34 kB / 0.6038 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.494, allocations: 0.8471 MB / 0.6047 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.494, allocations: 4 kB / 0.6047 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.494, allocations: 3.938 kB / 0.6047 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.494, allocations: 8.016 kB / 0.6047 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.4961, allocations: 1.061 MB / 0.6057 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4961, allocations: 0 / 0.6057 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.4963, allocations: 59.89 kB / 0.6058 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007716/0.4971, allocations: 175.5 kB / 0.6059 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.4972, allocations: 15.98 kB / 0.6059 GB, free: 0 / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/0.5004, allocations: 3.698 MB / 0.6096 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5004, allocations: 8.016 kB / 0.6096 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.5018, allocations: 0.8507 MB / 0.6104 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.502, allocations: 83.41 kB / 0.6105 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.5021, allocations: 11.94 kB / 0.6105 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.5025, allocations: 15.98 kB / 0.6105 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.5026, allocations: 31.95 kB / 0.6105 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.5026, allocations: 16 kB / 0.6105 GB, free: 10.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.5037, allocations: 0.8113 MB / 0.6113 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5037, allocations: 0 / 0.6113 GB, free: 10.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00233/0.506, allocations: 0.6539 MB / 0.612 GB, free: 9.484 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.001323/0.5074, allocations: 0.7315 MB / 0.6127 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.509, allocations: 0.7772 MB / 0.6135 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.509, allocations: 0 / 0.6135 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.5095, allocations: 381.6 kB / 0.6138 GB, free: 7.578 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009152/0.5104, allocations: 153.7 kB / 0.614 GB, free: 7.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.5134, allocations: 1.851 MB / 0.6158 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.514, allocations: 480.5 kB / 0.6162 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007649/0.5147, allocations: 267.2 kB / 0.6165 GB, free: 4.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.515, allocations: 135.3 kB / 0.6166 GB, free: 4.645 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.515, allocations: 4 kB / 0.6166 GB, free: 4.641 MB / 462.1 MB Notification: Performance of Templates: time 0.03215/0.5471, allocations: 20.28 MB / 0.6364 GB, free: 496 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 cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.397140910004964] Failed to read output from testmodel.py, exit status != 0: 0.5562686030025361 0.569370515 0.12047539 Calling exit ...