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.0009782/0.0009782, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001078/0.001078, allocations: 181 kB / 23.36 MB, free: 1.129 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.9692/0.9692, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.09006/0.09006, allocations: 17.46 MB / 277.7 MB, free: 11.46 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 300.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.652e-05, allocations: 5 kB / 300.8 MB, free: 1.723 MB / 266.7 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.03246/0.03247, allocations: 36.28 MB / 337 MB, free: 84 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.04429, allocations: 13.36 MB / 350.4 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007757/0.04507, allocations: 23.81 kB / 350.4 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007177/0.04578, allocations: 364.9 kB / 350.8 MB, free: 2.293 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.0472, allocations: 0.8064 MB / 351.6 MB, free: 1.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.05102, allocations: 2.131 MB / 353.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001896/0.05291, allocations: 1.691 MB / 355.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.05371, allocations: 0.7823 MB / 356.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008912/0.0546, allocations: 1.096 MB / 357.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.05527, allocations: 0.6937 MB / 358 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.0554, allocations: 140 kB / 358.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.05766, allocations: 1.22 MB / 359.3 MB, free: 9.668 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.05788, allocations: 378.8 kB / 359.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.05825, allocations: 0.5379 MB / 360.2 MB, free: 8.758 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.06111, allocations: 2.603 MB / 362.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.06112, allocations: 3.984 kB / 362.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.06112, allocations: 3.938 kB / 362.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.06113, allocations: 4 kB / 362.9 MB, free: 6.133 MB / 330.7 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.001598/0.06273, allocations: 1.771 MB / 364.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.06276, allocations: 8.031 kB / 364.6 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.06371, allocations: 0.581 MB / 365.2 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007076/0.06442, allocations: 0.6332 MB / 365.9 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.06452, allocations: 197.8 kB / 366 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.06464, allocations: 116.4 kB / 366.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/0.06562, allocations: 1.145 MB / 367.3 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.06564, allocations: 3.938 kB / 367.3 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.06571, allocations: 48 kB / 367.4 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.06573, allocations: 32 kB / 367.4 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009764/0.0667, allocations: 1.004 MB / 368.4 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/0.07044, allocations: 3.783 MB / 372.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.07099, allocations: 0.5076 MB / 372.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.07117, allocations: 160.5 kB / 372.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002847/0.07402, allocations: 2.325 MB / 375.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.07404, allocations: 42.5 kB / 375.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001355/0.07417, allocations: 63.36 kB / 375.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.07418, allocations: 8 kB / 375.3 MB, free: 9.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005225/0.0747, allocations: 359 kB / 375.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.07474, allocations: 110.8 kB / 375.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/0.07556, allocations: 0.9115 MB / 376.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.07558, allocations: 33.7 kB / 376.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.07585, allocations: 0.7251 MB / 377.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.07592, allocations: 135 kB / 377.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.07611, allocations: 266.8 kB / 377.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.07632, allocations: 426.5 kB / 378.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.07646, allocations: 117.4 kB / 378.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.07689, allocations: 0.8427 MB / 379.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.0776, allocations: 1.126 MB / 380.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.07761, allocations: 15.94 kB / 380.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0008078/0.07842, allocations: 0.8788 MB / 381.2 MB, free: 2.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.07844, allocations: 17.88 kB / 381.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.07846, allocations: 28 kB / 381.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/0.07878, allocations: 153.4 kB / 381.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.07942, allocations: 403.5 kB / 381.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.08113, allocations: 3.605 MB / 385.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.08151, allocations: 72.11 kB / 385.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.08158, allocations: 83.98 kB / 385.5 MB, free: 14.05 MB / 362.7 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.0001859/0.08176, allocations: 215.9 kB / 385.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.08185, allocations: 59.88 kB / 385.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.08266, allocations: 0.7391 MB / 386.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.08266, allocations: 0 / 386.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.08266, allocations: 8 kB / 386.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.08267, allocations: 3.938 kB / 386.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.08351, allocations: 0.9102 MB / 387.5 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.08351, allocations: 3.938 kB / 387.5 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.08366, allocations: 67.89 kB / 387.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003744/0.08404, allocations: 179.1 kB / 387.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.08406, allocations: 12 kB / 387.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.08565, allocations: 3.463 MB / 391.2 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.08565, allocations: 4 kB / 391.2 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.08612, allocations: 0.6406 MB / 391.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.08619, allocations: 79.38 kB / 391.9 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.08625, allocations: 8 kB / 391.9 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.08642, allocations: 8 kB / 391.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.08647, allocations: 39.83 kB / 392 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.08649, allocations: 19.98 kB / 392 MB, free: 7.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003331/0.08682, allocations: 460.3 kB / 392.4 MB, free: 6.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08682, allocations: 0 / 392.4 MB, free: 6.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001096/0.08792, allocations: 0.5373 MB / 393 MB, free: 6.184 MB / 362.7 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.0006317/0.08855, allocations: 0.5495 MB / 393.5 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006527/0.0892, allocations: 0.5587 MB / 394.1 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-05/0.08923, allocations: 21.88 kB / 394.1 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.08945, allocations: 338.9 kB / 394.4 MB, free: 4.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.08998, allocations: 179.4 kB / 394.6 MB, free: 4.52 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.09197, allocations: 1.689 MB / 396.3 MB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.09209, allocations: 187.2 kB / 396.5 MB, free: 2.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.09253, allocations: 235.4 kB / 396.7 MB, free: 2.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/0.0931, allocations: 261.2 kB / 397 MB, free: 2.078 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0931, allocations: 0 / 397 MB, free: 2.078 MB / 362.7 MB Notification: Performance of Templates: time 0.02181/0.1149, allocations: 18.28 MB / 415.2 MB, free: 15.9 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0712801022455096]