Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.0009361/0.0009361, 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.0009857/0.0009857, allocations: 181 kB / 23.36 MB, free: 1.133 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.9852/0.9852, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.09155/0.09155, allocations: 17.38 MB / 277.6 MB, free: 11.53 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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 1.375 kB / 300.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.12e-05, allocations: 2.312 kB / 300.7 MB, free: 1.852 MB / 266.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.StandardLeadAcidPotential): time 0.03947/0.03949, allocations: 38.01 MB / 338.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01982/0.0593, allocations: 25.65 MB / 364.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009329/0.06024, allocations: 35.69 kB / 364.4 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.06137, allocations: 0.5967 MB / 365 MB, free: 4.195 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.06378, allocations: 1.299 MB / 366.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007512/0.0713, allocations: 4.047 MB / 370.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.07328, allocations: 2.269 MB / 372.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/0.07413, allocations: 0.9864 MB / 373.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.0752, allocations: 1.494 MB / 375 MB, free: 10 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/0.07616, allocations: 0.9783 MB / 376 MB, free: 9.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.07636, allocations: 176 kB / 376.2 MB, free: 8.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.08045, allocations: 2.374 MB / 378.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.08073, allocations: 498.4 kB / 379.1 MB, free: 5.984 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.0812, allocations: 0.7133 MB / 379.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004259/0.08546, allocations: 4.482 MB / 384.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.08546, allocations: 0 / 384.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.08547, allocations: 4 kB / 384.3 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.08548, allocations: 0 / 384.3 MB, free: 0.7656 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002107/0.08759, allocations: 2.44 MB / 386.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.08762, allocations: 16.02 kB / 386.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.08895, allocations: 0.7744 MB / 387.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009468/0.08989, allocations: 0.8675 MB / 388.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.09001, allocations: 222.3 kB / 388.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.09017, allocations: 144.4 kB / 388.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.09151, allocations: 1.52 MB / 390.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.09153, allocations: 0 / 390.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.09164, allocations: 60 kB / 390.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.09166, allocations: 36 kB / 390.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.09323, allocations: 1.532 MB / 391.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/0.09797, allocations: 4.631 MB / 396.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.09871, allocations: 0.6678 MB / 397.2 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.099, allocations: 245.4 kB / 397.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00468/0.1037, allocations: 3.742 MB / 401.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1037, allocations: 46.98 kB / 401.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001571/0.1039, allocations: 91.14 kB / 401.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.873e-06/0.1039, allocations: 0 / 401.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006694/0.1045, allocations: 459.5 kB / 401.7 MB, free: 14.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1046, allocations: 115.2 kB / 401.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.1052, allocations: 1.058 MB / 402.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.1052, allocations: 37.94 kB / 402.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.1056, allocations: 0.866 MB / 403.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1057, allocations: 206.3 kB / 404 MB, free: 12.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.1059, allocations: 343.2 kB / 404.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.106, allocations: 309 kB / 404.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1062, allocations: 146.7 kB / 404.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.1068, allocations: 1.167 MB / 405.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.1079, allocations: 1.53 MB / 407.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.1079, allocations: 12 kB / 407.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001097/0.109, allocations: 1.147 MB / 408.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.109, allocations: 28.06 kB / 408.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.109, allocations: 36 kB / 408.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.1094, allocations: 161.6 kB / 408.9 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/0.1102, allocations: 0.5109 MB / 409.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.1117, allocations: 3.636 MB / 413 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.1121, allocations: 88.06 kB / 413.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.1122, allocations: 116 kB / 413.2 MB, free: 2.086 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * 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 (197): * Single equations (assignments): 193 * 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.0002236/0.1124, allocations: 243.7 kB / 413.4 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1126, allocations: 83.91 kB / 413.5 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.1138, allocations: 1.238 MB / 414.8 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1138, allocations: 4 kB / 414.8 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1138, allocations: 11.94 kB / 414.8 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1138, allocations: 0 / 414.8 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1148, allocations: 1.102 MB / 415.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1148, allocations: 4.281 kB / 415.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.115, allocations: 84.53 kB / 416 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003627/0.1154, allocations: 179 kB / 416.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1154, allocations: 12 kB / 416.2 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.1167, allocations: 3.46 MB / 419.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1167, allocations: 11.88 kB / 419.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.1172, allocations: 0.6897 MB / 420.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.1173, allocations: 99.16 kB / 420.4 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.1174, allocations: 15.94 kB / 420.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1176, allocations: 8 kB / 420.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.1176, allocations: 47.81 kB / 420.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1176, allocations: 12.09 kB / 420.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003714/0.118, allocations: 0.5444 MB / 421 MB, free: 9.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.118, allocations: 0 / 421 MB, free: 9.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001337/0.1194, allocations: 0.8329 MB / 421.9 MB, free: 8.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (anode.temperature,cathode.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 (31): * Single equations (assignments): 27 * 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.00105/0.1204, allocations: 1.017 MB / 422.9 MB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007356/0.1211, allocations: 0.6918 MB / 423.6 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.569e-05/0.1212, allocations: 36.16 kB / 423.6 MB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1214, allocations: 346 kB / 424 MB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.122, allocations: 224.8 kB / 424.2 MB, free: 6.613 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.1244, allocations: 2.144 MB / 426.3 MB, free: 4.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.1245, allocations: 231.3 kB / 426.5 MB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006179/0.1251, allocations: 351 kB / 426.9 MB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.1256, allocations: 365.2 kB / 427.2 MB, free: 3.453 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1256, allocations: 0 / 427.2 MB, free: 3.453 MB / 394.7 MB Notification: Performance of Templates: time 0.1401/0.2656, allocations: 28.35 MB / 455.6 MB, free: 97.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6062990305945277]