Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.001568/0.001568, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001735/0.001735, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 8.035 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.1345/0.1345, allocations: 23.86 MB / 336.3 MB, free: 11.23 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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [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.002115/0.002115, allocations: 64.17 kB / 471.7 MB, free: 7.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 59.86 MB / 0.5191 GB, free: 10.08 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.StandardElectrochemicalCell): time 0.03728/0.3386, allocations: 28.41 MB / 0.5468 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02735/0.3659, allocations: 21.75 MB / 0.568 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.3671, allocations: 27.75 kB / 0.5681 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.3688, allocations: 0.5329 MB / 0.5686 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.372, allocations: 1.01 MB / 0.5696 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00925/0.3812, allocations: 3.335 MB / 0.5728 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.3841, allocations: 1.813 MB / 0.5746 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.3853, allocations: 0.7549 MB / 0.5753 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.3865, allocations: 0.8064 MB / 0.5761 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.388, allocations: 0.9028 MB / 0.577 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.3883, allocations: 148 kB / 0.5772 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.3944, allocations: 2.094 MB / 0.5792 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005531/0.3949, allocations: 378.8 kB / 0.5796 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.3962, allocations: 0.8087 MB / 0.5804 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008365/0.4045, allocations: 4.066 MB / 0.5843 GB, free: 7.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4045, allocations: 4 kB / 0.5843 GB, free: 7.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4045, allocations: 0 / 0.5843 GB, free: 7.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.603e-05/0.4046, allocations: 0 / 0.5843 GB, free: 7.367 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.004119/0.4087, allocations: 2.076 MB / 0.5864 GB, free: 5.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4088, allocations: 8.031 kB / 0.5864 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.4106, allocations: 439.1 kB / 0.5868 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.4127, allocations: 0.9959 MB / 0.5878 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.4128, allocations: 205.7 kB / 0.5879 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.4131, allocations: 124 kB / 0.5881 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.416, allocations: 1.764 MB / 0.5898 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.416, allocations: 4 kB / 0.5898 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.4162, allocations: 56 kB / 0.5898 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.4162, allocations: 32 kB / 0.5899 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/0.4198, allocations: 2.342 MB / 0.5922 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008536/0.4283, allocations: 5.516 MB / 0.5976 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.4297, allocations: 0.7016 MB / 0.5982 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.4302, allocations: 340.4 kB / 0.5986 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006876/0.4371, allocations: 2.99 MB / 0.6015 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.4371, allocations: 34.5 kB / 0.6015 GB, free: 5.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.704e-06/0.4371, allocations: 0 / 0.6015 GB, free: 5.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001483/0.4386, allocations: 0.6504 MB / 0.6021 GB, free: 4.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.4387, allocations: 118.7 kB / 0.6023 GB, free: 4.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.4403, allocations: 1.299 MB / 0.6035 GB, free: 3.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4404, allocations: 29.7 kB / 0.6036 GB, free: 3.191 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.441, allocations: 0.8609 MB / 0.6044 GB, free: 2.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.4411, allocations: 158.8 kB / 0.6046 GB, free: 2.164 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.4415, allocations: 295.3 kB / 0.6048 GB, free: 1.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4417, allocations: 361.9 kB / 0.6052 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.4422, allocations: 335.8 kB / 0.6055 GB, free: 1.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.4435, allocations: 1.156 MB / 0.6066 GB, free: 15.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.4454, allocations: 1.553 MB / 0.6081 GB, free: 13.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.4454, allocations: 8 kB / 0.6082 GB, free: 13.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002545/0.4479, allocations: 1.555 MB / 0.6097 GB, free: 12.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.448, allocations: 20 kB / 0.6097 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.376e-05/0.448, allocations: 32.72 kB / 0.6097 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.4486, allocations: 165.3 kB / 0.6099 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4498, allocations: 395.4 kB / 0.6103 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.453, allocations: 3.87 MB / 0.614 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.454, allocations: 194.6 kB / 0.6142 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.4541, allocations: 99.98 kB / 0.6143 GB, free: 7.027 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * 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.0004913/0.4546, allocations: 333.2 kB / 0.6146 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.4548, allocations: 119.2 kB / 0.6147 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.4567, allocations: 0.9434 MB / 0.6157 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4567, allocations: 4 kB / 0.6157 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4567, allocations: 3.984 kB / 0.6157 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4567, allocations: 0 / 0.6157 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.4589, allocations: 1.337 MB / 0.617 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4589, allocations: 8 kB / 0.617 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.4592, allocations: 59.91 kB / 0.617 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000718/0.4599, allocations: 175.4 kB / 0.6172 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.46, allocations: 19.94 kB / 0.6172 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.463, allocations: 3.742 MB / 0.6209 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.463, allocations: 4 kB / 0.6209 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4643, allocations: 0.9082 MB / 0.6218 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.4646, allocations: 115.2 kB / 0.6219 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4647, allocations: 23.88 kB / 0.6219 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.4651, allocations: 8 kB / 0.6219 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.4652, allocations: 47.89 kB / 0.622 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.4652, allocations: 19.98 kB / 0.622 GB, free: 14.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.4665, allocations: 0.9625 MB / 0.6229 GB, free: 13.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4665, allocations: 0 / 0.6229 GB, free: 13.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002028/0.4685, allocations: 0.7046 MB / 0.6236 GB, free: 13 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (30): * Single equations (assignments): 26 * 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.001628/0.4701, allocations: 0.8683 MB / 0.6245 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.4718, allocations: 0.8186 MB / 0.6253 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4718, allocations: 0 / 0.6253 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.4724, allocations: 393.4 kB / 0.6256 GB, free: 10.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.4735, allocations: 194.1 kB / 0.6258 GB, free: 10.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.4766, allocations: 1.995 MB / 0.6278 GB, free: 8.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.4774, allocations: 1.095 MB / 0.6288 GB, free: 7.535 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000852/0.4783, allocations: 310.9 kB / 0.6291 GB, free: 7.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.4786, allocations: 155.4 kB / 0.6293 GB, free: 7.098 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4786, allocations: 0 / 0.6293 GB, free: 7.098 MB / 478.1 MB Notification: Performance of Templates: time 0.03774/0.5163, allocations: 22.64 MB / 0.6514 GB, free: 0.5234 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.39469408383593] Failed to read output from testmodel.py, exit status != 0: 0.5254567519295961 0.5393097219999999 0.13170015300000001 Calling exit ...