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.002384/0.002384, allocations: 89.47 kB / 19.44 MB, free: 344 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.002737/0.002737, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.616/1.616, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.1457/0.1457, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.854e-06/1.854e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.231e-05, allocations: 4.844 kB / 352.7 MB, free: 10.32 MB / 282.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.05617/0.05621, allocations: 30.03 MB / 382.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.198/0.2542, allocations: 28.33 MB / 411.1 MB, free: 31.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2556, allocations: 31.59 kB / 411.1 MB, free: 31.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.2574, allocations: 0.6225 MB / 411.7 MB, free: 31.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.2611, allocations: 1.32 MB / 413 MB, free: 31.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.2726, allocations: 4.479 MB / 417.5 MB, free: 30.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003487/0.2761, allocations: 2.272 MB / 419.8 MB, free: 30.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.2774, allocations: 0.9731 MB / 420.8 MB, free: 30.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.2793, allocations: 1.435 MB / 422.2 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.2809, allocations: 0.9592 MB / 423.2 MB, free: 29.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000372/0.2813, allocations: 177.6 kB / 423.3 MB, free: 29.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.2914, allocations: 2.562 MB / 425.9 MB, free: 29.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008973/0.2923, allocations: 490.9 kB / 426.4 MB, free: 29.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.2938, allocations: 0.7062 MB / 427.1 MB, free: 29.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.3074, allocations: 5.467 MB / 432.6 MB, free: 27.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3074, allocations: 2.688 kB / 432.6 MB, free: 27.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3074, allocations: 2.812 kB / 432.6 MB, free: 27.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.296e-05/0.3075, allocations: 0 / 432.6 MB, free: 27.88 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.00456/0.312, allocations: 2.727 MB / 435.3 MB, free: 25.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3121, allocations: 9.656 kB / 435.3 MB, free: 25.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.3145, allocations: 0.8696 MB / 436.2 MB, free: 25.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.3167, allocations: 1.214 MB / 437.4 MB, free: 24.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.3168, allocations: 220.2 kB / 437.6 MB, free: 24.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.3171, allocations: 152.7 kB / 437.7 MB, free: 24.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.32, allocations: 2.082 MB / 439.8 MB, free: 23.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.32, allocations: 3 kB / 439.8 MB, free: 23.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.3202, allocations: 65.84 kB / 439.9 MB, free: 23.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.3202, allocations: 36.12 kB / 439.9 MB, free: 23.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.3237, allocations: 2.686 MB / 442.6 MB, free: 21.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009343/0.333, allocations: 6.835 MB / 449.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.3346, allocations: 0.9687 MB / 450.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.3353, allocations: 0.4932 MB / 450.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00882/0.3441, allocations: 4.501 MB / 455.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3442, allocations: 48.83 kB / 455.5 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003996/0.3446, allocations: 83.19 kB / 455.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.465e-06/0.3446, allocations: 2.688 kB / 455.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0016/0.3462, allocations: 0.8194 MB / 456.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3462, allocations: 107.3 kB / 456.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3474, allocations: 1.481 MB / 458 MB, free: 5.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3475, allocations: 36.36 kB / 458 MB, free: 5.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.3479, allocations: 1.118 MB / 459.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.348, allocations: 207.3 kB / 459.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/0.3483, allocations: 385 kB / 459.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.3484, allocations: 479.4 kB / 460.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.3488, allocations: 295.8 kB / 460.4 MB, free: 3.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008921/0.3497, allocations: 1.799 MB / 462.2 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.3522, allocations: 2.283 MB / 464.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.3522, allocations: 8 kB / 464.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003095/0.3553, allocations: 1.74 MB / 466.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.3553, allocations: 24 kB / 466.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.633e-05/0.3554, allocations: 36 kB / 466.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/0.356, allocations: 170.5 kB / 466.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.3575, allocations: 482.5 kB / 467 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/0.3623, allocations: 5.515 MB / 472.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.3634, allocations: 88.64 kB / 472.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.3636, allocations: 128 kB / 472.7 MB, free: 6.016 MB / 346.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.0006921/0.3642, allocations: 404.6 kB / 473.1 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.3645, allocations: 147.1 kB / 473.2 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.3675, allocations: 1.608 MB / 474.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3675, allocations: 4 kB / 474.8 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3675, allocations: 0 / 474.8 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3676, allocations: 6.641 kB / 474.8 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.3704, allocations: 1.588 MB / 476.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3704, allocations: 2.625 kB / 476.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.3708, allocations: 75.05 kB / 476.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007894/0.3715, allocations: 196 kB / 476.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.3716, allocations: 17.41 kB / 476.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004592/0.3762, allocations: 5.281 MB / 482 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.3762, allocations: 10.98 kB / 482 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.3783, allocations: 1.093 MB / 483.1 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.3787, allocations: 113 kB / 483.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.3788, allocations: 8 kB / 483.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.3792, allocations: 14.62 kB / 483.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.3793, allocations: 42.88 kB / 483.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.3794, allocations: 20 kB / 483.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001716/0.3811, allocations: 0.9334 MB / 484.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3811, allocations: 0 / 484.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002936/0.384, allocations: 0.8835 MB / 485.1 MB, free: 9.168 MB / 362.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.002218/0.3863, allocations: 1.096 MB / 486.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3885, allocations: 0.9514 MB / 487.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3885, allocations: 0 / 487.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.3893, allocations: 0.5187 MB / 487.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.3906, allocations: 222.7 kB / 487.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.3946, allocations: 2.278 MB / 490.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.3953, allocations: 0.5967 MB / 490.8 MB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001132/0.3964, allocations: 382.2 kB / 491.1 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.3968, allocations: 200.9 kB / 491.3 MB, free: 3.355 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3968, allocations: 0 / 491.3 MB, free: 3.355 MB / 362.7 MB Notification: Performance of Templates: time 0.04656/0.4434, allocations: 25.21 MB / 0.5044 GB, free: 10.98 MB / 394.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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.964731414918788]