Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001909/0.001909, allocations: 81.5 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.001992/0.001992, 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.147/0.147, allocations: 17.46 MB / 277 MB, free: 11.6 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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 352.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.284e-05, allocations: 4.984 kB / 352.8 MB, free: 10.18 MB / 282.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.StandardLeadAcidPotential): time 0.0469/0.04694, allocations: 30.01 MB / 382.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2084/0.2553, allocations: 28.33 MB / 411.2 MB, free: 31.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.2566, allocations: 36.12 kB / 411.2 MB, free: 31.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.2583, allocations: 0.6143 MB / 411.8 MB, free: 31.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.2631, allocations: 1.33 MB / 413.2 MB, free: 31.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01247/0.2755, allocations: 4.48 MB / 417.6 MB, free: 30.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.2795, allocations: 2.267 MB / 419.9 MB, free: 30.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.2811, allocations: 0.9708 MB / 420.9 MB, free: 30.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.283, allocations: 1.433 MB / 422.3 MB, free: 30.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.2847, allocations: 0.9594 MB / 423.3 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005336/0.2853, allocations: 182 kB / 423.5 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007669/0.2929, allocations: 2.554 MB / 426 MB, free: 29.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007692/0.2937, allocations: 494.9 kB / 426.5 MB, free: 29.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.295, allocations: 0.7015 MB / 427.2 MB, free: 29.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3067, allocations: 5.477 MB / 432.7 MB, free: 27.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3067, allocations: 0 / 432.7 MB, free: 27.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3067, allocations: 5.562 kB / 432.7 MB, free: 27.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.541e-05/0.3068, allocations: 0 / 432.7 MB, free: 27.91 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.004187/0.311, allocations: 2.72 MB / 435.4 MB, free: 26.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.311, allocations: 9.5 kB / 435.4 MB, free: 26.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.3135, allocations: 0.8733 MB / 436.3 MB, free: 25.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.3154, allocations: 1.214 MB / 437.5 MB, free: 24.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.3156, allocations: 221.1 kB / 437.7 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.3158, allocations: 145 kB / 437.8 MB, free: 24.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.3184, allocations: 2.087 MB / 439.9 MB, free: 23.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.3185, allocations: 6.5 kB / 439.9 MB, free: 23.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.3186, allocations: 60.91 kB / 440 MB, free: 23.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.3186, allocations: 42.83 kB / 440 MB, free: 23.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.3221, allocations: 2.679 MB / 442.7 MB, free: 21.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008755/0.3308, allocations: 6.843 MB / 449.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3324, allocations: 0.9624 MB / 450.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.3331, allocations: 0.4966 MB / 451 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00889/0.342, allocations: 4.494 MB / 455.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.342, allocations: 52.44 kB / 455.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003937/0.3424, allocations: 89.84 kB / 455.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.515e-06/0.3424, allocations: 0 / 455.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001567/0.3439, allocations: 0.8159 MB / 456.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.344, allocations: 115.3 kB / 456.6 MB, free: 7.438 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.3452, allocations: 1.483 MB / 458.1 MB, free: 5.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3452, allocations: 33.7 kB / 458.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.3457, allocations: 1.113 MB / 459.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3458, allocations: 213.5 kB / 459.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/0.3462, allocations: 381 kB / 459.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.3462, allocations: 476.8 kB / 460.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.3467, allocations: 291.8 kB / 460.5 MB, free: 3.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009317/0.3476, allocations: 1.802 MB / 462.3 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.3504, allocations: 2.283 MB / 464.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/0.3505, allocations: 12 kB / 464.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003134/0.3536, allocations: 1.741 MB / 466.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.3536, allocations: 20 kB / 466.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/0.3537, allocations: 36 kB / 466.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006767/0.3543, allocations: 173.9 kB / 466.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.3558, allocations: 482.8 kB / 467.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.3608, allocations: 5.512 MB / 472.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.3619, allocations: 86.52 kB / 472.7 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.3621, allocations: 128 kB / 472.8 MB, free: 6.008 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.0006799/0.3628, allocations: 412.2 kB / 473.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.3631, allocations: 149.7 kB / 473.3 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.3662, allocations: 1.611 MB / 475 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3662, allocations: 0 / 475 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3662, allocations: 6.688 kB / 475 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.3662, allocations: 6 kB / 475 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/0.3691, allocations: 1.588 MB / 476.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.3691, allocations: 4 kB / 476.6 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.3694, allocations: 69.58 kB / 476.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008146/0.3702, allocations: 198.7 kB / 476.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.3702, allocations: 16 kB / 476.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004703/0.3749, allocations: 5.277 MB / 482.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3749, allocations: 2.906 kB / 482.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.3768, allocations: 1.1 MB / 483.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.3771, allocations: 107.1 kB / 483.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.3772, allocations: 12 kB / 483.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.3776, allocations: 8 kB / 483.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.3777, allocations: 50.78 kB / 483.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.3778, allocations: 14.66 kB / 483.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001445/0.3792, allocations: 0.9386 MB / 484.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3792, allocations: 0 / 484.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002842/0.3821, allocations: 0.8795 MB / 485.2 MB, free: 9.16 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.001965/0.384, allocations: 1.103 MB / 486.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.3864, allocations: 0.9527 MB / 487.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3864, allocations: 0 / 487.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.3871, allocations: 0.5105 MB / 487.8 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.3884, allocations: 224.2 kB / 488 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.3922, allocations: 2.279 MB / 490.3 MB, free: 4.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.3929, allocations: 0.5966 MB / 490.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001076/0.394, allocations: 382.9 kB / 491.3 MB, free: 3.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.3944, allocations: 199.1 kB / 491.5 MB, free: 3.348 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3944, allocations: 0 / 491.5 MB, free: 3.348 MB / 362.7 MB Notification: Performance of Templates: time 0.0461/0.4405, allocations: 25.21 MB / 0.5046 GB, free: 10.96 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.937503749039024]