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.001438/0.001438, allocations: 88.72 kB / 19.44 MB, free: 356 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.001556/0.001556, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.266 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.1487/0.1487, allocations: 17.45 MB / 277 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.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.944e-06/1.944e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.582e-05/3.776e-05, allocations: 14.19 kB / 352.8 MB, free: 10.2 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.04514/0.04518, allocations: 29.13 MB / 382 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03685/0.08203, allocations: 24.84 MB / 406.8 MB, free: 4.262 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.08338, allocations: 39.69 kB / 406.8 MB, free: 4.223 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.08548, allocations: 0.6123 MB / 407.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00429/0.08977, allocations: 1.318 MB / 408.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1737/0.2635, allocations: 4.482 MB / 413.3 MB, free: 33.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.2667, allocations: 2.264 MB / 415.5 MB, free: 33.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.2684, allocations: 0.9657 MB / 416.5 MB, free: 33.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.2714, allocations: 1.425 MB / 417.9 MB, free: 32.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/0.2737, allocations: 0.9277 MB / 418.8 MB, free: 32.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007691/0.2745, allocations: 180.5 kB / 419 MB, free: 32.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007982/0.2825, allocations: 2.563 MB / 421.6 MB, free: 32.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009088/0.2834, allocations: 489.1 kB / 422.1 MB, free: 32.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.285, allocations: 0.6979 MB / 422.8 MB, free: 32.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.2985, allocations: 5.463 MB / 428.2 MB, free: 31.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.2985, allocations: 0 / 428.2 MB, free: 31.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2985, allocations: 0 / 428.2 MB, free: 31.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001264/0.2986, allocations: 2.688 kB / 428.2 MB, free: 31.72 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.006369/0.305, allocations: 2.498 MB / 430.7 MB, free: 30.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.305, allocations: 12.25 kB / 430.7 MB, free: 30.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.3083, allocations: 0.866 MB / 431.6 MB, free: 29.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.311, allocations: 1.221 MB / 432.8 MB, free: 29.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.3112, allocations: 217.1 kB / 433 MB, free: 29.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/0.3117, allocations: 147.4 kB / 433.2 MB, free: 29.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/0.3157, allocations: 2.031 MB / 435.2 MB, free: 28.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.3158, allocations: 0 / 435.2 MB, free: 28.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.316, allocations: 64.34 kB / 435.3 MB, free: 28.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.3161, allocations: 41.77 kB / 435.3 MB, free: 28.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003981/0.32, allocations: 2.74 MB / 438 MB, free: 26.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009373/0.3294, allocations: 5.838 MB / 443.9 MB, free: 20.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.3311, allocations: 0.9987 MB / 444.9 MB, free: 19.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/0.3318, allocations: 0.5052 MB / 445.4 MB, free: 19.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009257/0.3411, allocations: 4.336 MB / 449.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3411, allocations: 46.98 kB / 449.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005538/0.3417, allocations: 86.66 kB / 449.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 3.907e-06/0.3417, allocations: 4 kB / 449.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001848/0.3435, allocations: 0.859 MB / 450.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3436, allocations: 111.3 kB / 450.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.3448, allocations: 1.163 MB / 452 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.3448, allocations: 29.7 kB / 452 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.3453, allocations: 1.001 MB / 453 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.3454, allocations: 203.2 kB / 453.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/0.3457, allocations: 335.3 kB / 453.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.3458, allocations: 301.1 kB / 453.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.3463, allocations: 311.8 kB / 454.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008442/0.3471, allocations: 1.316 MB / 455.5 MB, free: 8.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.3487, allocations: 1.821 MB / 457.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-05/0.3487, allocations: 14.66 kB / 457.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002587/0.3513, allocations: 1.757 MB / 459.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.3513, allocations: 20 kB / 459.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/0.3514, allocations: 40 kB / 459.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.352, allocations: 167.8 kB / 459.3 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.3532, allocations: 477 kB / 459.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.3553, allocations: 3.842 MB / 463.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.3565, allocations: 90.48 kB / 463.7 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.3567, allocations: 124.9 kB / 463.8 MB, free: 248 kB / 330.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.0006865/0.3574, allocations: 382.8 kB / 464.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.3578, allocations: 151.1 kB / 464.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.3607, allocations: 1.376 MB / 465.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.3607, allocations: 4 kB / 465.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3608, allocations: 4 kB / 465.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.3608, allocations: 3.984 kB / 465.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.3638, allocations: 1.29 MB / 467 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.3638, allocations: 4 kB / 467 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.3641, allocations: 70.3 kB / 467.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008326/0.365, allocations: 185.5 kB / 467.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.365, allocations: 18.69 kB / 467.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.369, allocations: 3.689 MB / 471 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.369, allocations: 4 kB / 471 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.371, allocations: 0.9807 MB / 471.9 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.3714, allocations: 103.1 kB / 472 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/0.3717, allocations: 15.98 kB / 472.1 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.3723, allocations: 17.19 kB / 472.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.3724, allocations: 47.25 kB / 472.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.3724, allocations: 16 kB / 472.1 MB, free: 7.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001644/0.3741, allocations: 0.8371 MB / 473 MB, free: 6.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3741, allocations: 0 / 473 MB, free: 6.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003732/0.3778, allocations: 0.8835 MB / 473.9 MB, free: 5.906 MB / 346.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.00353/0.3813, allocations: 1.091 MB / 474.9 MB, free: 5.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.3839, allocations: 0.8822 MB / 475.8 MB, free: 4.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3839, allocations: 4 kB / 475.8 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009907/0.3849, allocations: 405.2 kB / 476.2 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.3868, allocations: 213.7 kB / 476.4 MB, free: 3.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.3918, allocations: 2.278 MB / 478.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009805/0.3928, allocations: 0.5967 MB / 479.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001405/0.3942, allocations: 395.8 kB / 479.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/0.3947, allocations: 194.8 kB / 479.9 MB, free: 312 kB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3947, allocations: 2.688 kB / 479.9 MB, free: 312 kB / 346.7 MB Notification: Performance of Templates: time 0.04856/0.4432, allocations: 25.16 MB / 0.4932 GB, free: 8.066 MB / 378.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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.882076606969349]