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.0007455/0.0007455, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0007429/0.0007429, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.8505/0.8505, allocations: 177.2 MB / 203.6 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.07849/0.07849, allocations: 17.38 MB / 277.4 MB, free: 11.89 MB / 266.7 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.0008341/0.0008341, allocations: 67.89 kB / 412.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3523, allocations: 59.83 MB / 472.7 MB, free: 29.83 MB / 410.7 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.02953/0.3818, allocations: 27.87 MB / 0.4888 GB, free: 18.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.3942, allocations: 19.03 MB / 0.5074 GB, free: 2.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.3954, allocations: 31.75 kB / 0.5074 GB, free: 2.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.3965, allocations: 481.7 kB / 0.5079 GB, free: 1.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.3986, allocations: 0.971 MB / 0.5088 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007338/0.406, allocations: 3.35 MB / 0.5121 GB, free: 14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.4083, allocations: 1.803 MB / 0.5139 GB, free: 12.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008557/0.4092, allocations: 0.752 MB / 0.5146 GB, free: 11.78 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009039/0.4101, allocations: 1.174 MB / 0.5157 GB, free: 10.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.4111, allocations: 0.8135 MB / 0.5165 GB, free: 10.17 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.4113, allocations: 148 kB / 0.5167 GB, free: 10.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/0.4159, allocations: 1.962 MB / 0.5186 GB, free: 8.246 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004063/0.4164, allocations: 385.7 kB / 0.519 GB, free: 7.934 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007098/0.4171, allocations: 0.6704 MB / 0.5196 GB, free: 7.316 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007996/0.4251, allocations: 4.087 MB / 0.5236 GB, free: 3.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4251, allocations: 8 kB / 0.5236 GB, free: 3.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4251, allocations: 0 / 0.5236 GB, free: 3.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.59e-05/0.4251, allocations: 0 / 0.5236 GB, free: 3.832 MB / 426.7 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.002881/0.428, allocations: 2.072 MB / 0.5256 GB, free: 1.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.428, allocations: 8.031 kB / 0.5256 GB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.4291, allocations: 446.4 kB / 0.5261 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.4303, allocations: 0.992 MB / 0.527 GB, free: 260 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.4304, allocations: 209.7 kB / 0.5272 GB, free: 24 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.4306, allocations: 120 kB / 0.5273 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.4323, allocations: 1.768 MB / 0.5291 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.4324, allocations: 0 / 0.5291 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.4325, allocations: 60 kB / 0.5291 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.4325, allocations: 32 kB / 0.5292 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.4349, allocations: 2.311 MB / 0.5314 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00502/0.4399, allocations: 4.802 MB / 0.5361 GB, free: 6.754 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/0.4408, allocations: 0.7016 MB / 0.5368 GB, free: 6.027 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.4412, allocations: 336.4 kB / 0.5371 GB, free: 5.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004024/0.4452, allocations: 2.85 MB / 0.5399 GB, free: 2.816 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.4452, allocations: 42.5 kB / 0.5399 GB, free: 2.766 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.4452, allocations: 0 / 0.5399 GB, free: 2.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009473/0.4462, allocations: 0.6388 MB / 0.5406 GB, free: 2.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4462, allocations: 110.8 kB / 0.5407 GB, free: 1.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.4472, allocations: 1.245 MB / 0.5419 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.4472, allocations: 37.7 kB / 0.5419 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.4476, allocations: 0.8684 MB / 0.5428 GB, free: 15.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.4477, allocations: 150.8 kB / 0.5429 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.4479, allocations: 295.3 kB / 0.5432 GB, free: 15.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.448, allocations: 357.9 kB / 0.5435 GB, free: 15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.4483, allocations: 339.8 kB / 0.5439 GB, free: 14.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.4493, allocations: 1.156 MB / 0.545 GB, free: 13.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.4504, allocations: 1.541 MB / 0.5465 GB, free: 11.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.4504, allocations: 8 kB / 0.5465 GB, free: 11.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001506/0.4519, allocations: 1.548 MB / 0.548 GB, free: 9.586 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.4519, allocations: 16 kB / 0.548 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.4519, allocations: 28 kB / 0.5481 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.4524, allocations: 165.9 kB / 0.5482 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.453, allocations: 399.3 kB / 0.5486 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.4552, allocations: 3.82 MB / 0.5523 GB, free: 4.898 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.4558, allocations: 182.8 kB / 0.5525 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.4559, allocations: 104 kB / 0.5526 GB, free: 4.617 MB / 458.7 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.0004241/0.4563, allocations: 334.7 kB / 0.5529 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.4565, allocations: 111.2 kB / 0.553 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.4575, allocations: 0.9417 MB / 0.5539 GB, free: 3.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4575, allocations: 11.94 kB / 0.554 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4575, allocations: 0 / 0.554 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4575, allocations: 0 / 0.554 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.4588, allocations: 1.163 MB / 0.5551 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4588, allocations: 4 kB / 0.5551 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.4589, allocations: 59.91 kB / 0.5551 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/0.4593, allocations: 167.3 kB / 0.5553 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.4594, allocations: 16.02 kB / 0.5553 GB, free: 1.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.4611, allocations: 3.704 MB / 0.5589 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4611, allocations: 4 kB / 0.5589 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.4619, allocations: 0.8989 MB / 0.5598 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.462, allocations: 103.4 kB / 0.5599 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.4621, allocations: 19.89 kB / 0.5599 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.4623, allocations: 8 kB / 0.5599 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.4624, allocations: 39.88 kB / 0.56 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.4624, allocations: 20 kB / 0.56 GB, free: 12.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007236/0.4631, allocations: 0.8807 MB / 0.5609 GB, free: 11.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4631, allocations: 0 / 0.5609 GB, free: 11.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001702/0.4648, allocations: 0.7162 MB / 0.5616 GB, free: 10.96 MB / 474.7 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.001165/0.466, allocations: 0.8601 MB / 0.5624 GB, free: 10.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.4671, allocations: 0.8149 MB / 0.5632 GB, free: 9.281 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4671, allocations: 4.062 kB / 0.5632 GB, free: 9.277 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.4674, allocations: 393 kB / 0.5636 GB, free: 8.867 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.4681, allocations: 161.8 kB / 0.5637 GB, free: 8.711 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.4704, allocations: 1.976 MB / 0.5657 GB, free: 6.672 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.4708, allocations: 0.5032 MB / 0.5662 GB, free: 6.137 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005622/0.4713, allocations: 297.2 kB / 0.5664 GB, free: 5.863 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.4715, allocations: 148.4 kB / 0.5666 GB, free: 5.719 MB / 474.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4715, allocations: 0 / 0.5666 GB, free: 5.719 MB / 474.7 MB Notification: Performance of Templates: time 0.02213/0.4936, allocations: 20.61 MB / 0.5867 GB, free: 1.234 MB / 490.7 MB " [Timeout remaining time 660] 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.381721758050844] Failed to read output from testmodel.py, exit status != 0: 0.49945979099720716 0.5080189310000001 0.081183934 Calling exit ...