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.001787/0.001787, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002508/0.002508, allocations: 219.4 kB / 22.3 MB, free: 5.297 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.577/1.577, allocations: 230.6 MB / 256.1 MB, free: 7.77 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.1638/0.1638, allocations: 23.89 MB / 336.4 MB, free: 10.93 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.002093/0.002093, allocations: 67.91 kB / 471.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.344, allocations: 59.86 MB / 0.5191 GB, free: 9.746 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.07458/0.4185, allocations: 27.16 MB / 0.5457 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.4412, allocations: 16.04 MB / 0.5613 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.4426, allocations: 27.75 kB / 0.5614 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.4439, allocations: 423.4 kB / 0.5618 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.4465, allocations: 0.8102 MB / 0.5625 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009132/0.4556, allocations: 2.851 MB / 0.5653 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002786/0.4584, allocations: 1.631 MB / 0.5669 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009638/0.4594, allocations: 0.7275 MB / 0.5676 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008296/0.4602, allocations: 0.7245 MB / 0.5683 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.4613, allocations: 0.7313 MB / 0.5691 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.4615, allocations: 140 kB / 0.5692 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.4664, allocations: 1.677 MB / 0.5708 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.4668, allocations: 362.8 kB / 0.5712 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007166/0.4675, allocations: 0.6224 MB / 0.5718 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007286/0.4748, allocations: 3.572 MB / 0.5753 GB, free: 272 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4748, allocations: 0 / 0.5753 GB, free: 272 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4748, allocations: 0 / 0.5753 GB, free: 272 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.4748, allocations: 0 / 0.5753 GB, free: 272 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.003486/0.4783, allocations: 1.893 MB / 0.5771 GB, free: 14.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4784, allocations: 12.03 kB / 0.5771 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.48, allocations: 395.3 kB / 0.5775 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.4817, allocations: 0.912 MB / 0.5784 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.4819, allocations: 201.5 kB / 0.5786 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.4821, allocations: 112 kB / 0.5787 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.4847, allocations: 1.672 MB / 0.5803 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.4848, allocations: 4 kB / 0.5803 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.4849, allocations: 48 kB / 0.5804 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.4849, allocations: 28 kB / 0.5804 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.4882, allocations: 2.108 MB / 0.5825 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007779/0.496, allocations: 4.712 MB / 0.5871 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.4974, allocations: 0.6782 MB / 0.5877 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.498, allocations: 332.4 kB / 0.588 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006315/0.5043, allocations: 2.644 MB / 0.5906 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.5043, allocations: 38.56 kB / 0.5907 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002585/0.5046, allocations: 67.36 kB / 0.5907 GB, free: 76 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/0.5046, allocations: 0 / 0.5907 GB, free: 76 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001437/0.506, allocations: 0.616 MB / 0.5913 GB, free: 15.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/0.5061, allocations: 110.8 kB / 0.5914 GB, free: 15.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.5075, allocations: 1.158 MB / 0.5926 GB, free: 14.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.5076, allocations: 29.7 kB / 0.5926 GB, free: 14.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006394/0.5082, allocations: 0.8061 MB / 0.5934 GB, free: 13.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.5083, allocations: 150.9 kB / 0.5935 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.5087, allocations: 270.7 kB / 0.5938 GB, free: 12.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.5089, allocations: 406.7 kB / 0.5942 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.5094, allocations: 330.4 kB / 0.5945 GB, free: 12.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.5106, allocations: 1.054 MB / 0.5955 GB, free: 10.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.5123, allocations: 1.407 MB / 0.5969 GB, free: 8.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.5124, allocations: 8 kB / 0.5969 GB, free: 8.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002331/0.5147, allocations: 1.44 MB / 0.5983 GB, free: 7.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.5147, allocations: 19.98 kB / 0.5983 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.5147, allocations: 28.09 kB / 0.5984 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/0.5154, allocations: 153.6 kB / 0.5985 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.5165, allocations: 371.4 kB / 0.5989 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.5199, allocations: 3.82 MB / 0.6026 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.5208, allocations: 76.09 kB / 0.6027 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.521, allocations: 95.98 kB / 0.6027 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.0005191/0.5215, allocations: 309.1 kB / 0.603 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.5217, allocations: 99.34 kB / 0.6031 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.5234, allocations: 0.8576 MB / 0.604 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5234, allocations: 0 / 0.604 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5234, allocations: 4 kB / 0.604 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5234, allocations: 0 / 0.604 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.5254, allocations: 1.062 MB / 0.605 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5254, allocations: 0 / 0.605 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.5257, allocations: 67.89 kB / 0.6051 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007823/0.5265, allocations: 171.3 kB / 0.6052 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.5265, allocations: 11.94 kB / 0.6053 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.5295, allocations: 3.706 MB / 0.6089 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5295, allocations: 448 / 0.6089 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.5309, allocations: 0.8505 MB / 0.6097 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.5311, allocations: 83.31 kB / 0.6098 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.5312, allocations: 11.94 kB / 0.6098 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.5315, allocations: 11.98 kB / 0.6098 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.5316, allocations: 35.95 kB / 0.6098 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.5317, allocations: 12 kB / 0.6099 GB, free: 10.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.5327, allocations: 0.8231 MB / 0.6107 GB, free: 10.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5327, allocations: 0 / 0.6107 GB, free: 10.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001993/0.5347, allocations: 0.6421 MB / 0.6113 GB, free: 9.465 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.001336/0.536, allocations: 0.7399 MB / 0.612 GB, free: 8.715 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.5379, allocations: 0.7706 MB / 0.6128 GB, free: 7.949 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5379, allocations: 4 kB / 0.6128 GB, free: 7.945 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.5384, allocations: 387.7 kB / 0.6131 GB, free: 7.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009845/0.5394, allocations: 149.9 kB / 0.6133 GB, free: 7.402 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.5424, allocations: 1.833 MB / 0.6151 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.543, allocations: 484.5 kB / 0.6155 GB, free: 5.004 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007917/0.5438, allocations: 270.7 kB / 0.6158 GB, free: 4.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.5441, allocations: 140.4 kB / 0.6159 GB, free: 4.613 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5441, allocations: 0 / 0.6159 GB, free: 4.613 MB / 462.1 MB Notification: Performance of Templates: time 0.03153/0.5756, allocations: 18.31 MB / 0.6338 GB, free: 2.43 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.067342089489102] Failed to read output from testmodel.py, exit status != 0: 0.5850017033517361 0.598955126 0.121049506 Calling exit ...