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.001469/0.001469, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001235/0.001235, allocations: 173 kB / 23.49 MB, free: 1.055 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.9421/0.9421, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.08846/0.08846, allocations: 17.46 MB / 277.7 MB, free: 11.64 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 2.044e-06/2.044e-06, allocations: 0 / 353.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.66e-05, allocations: 2.312 kB / 353.6 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.02563/0.02565, allocations: 32.3 MB / 385.9 MB, free: 10 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1682/0.1938, allocations: 28.33 MB / 414.2 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1952, allocations: 32.03 kB / 414.2 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.1969, allocations: 0.6167 MB / 414.9 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.1997, allocations: 1.328 MB / 416.2 MB, free: 33.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009535/0.2093, allocations: 4.484 MB / 420.7 MB, free: 32.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.2114, allocations: 2.272 MB / 422.9 MB, free: 32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.2126, allocations: 0.9684 MB / 423.9 MB, free: 31.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.2142, allocations: 1.437 MB / 425.3 MB, free: 31.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.2155, allocations: 0.9568 MB / 426.3 MB, free: 31.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.2157, allocations: 176.2 kB / 426.5 MB, free: 31.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005556/0.2213, allocations: 2.562 MB / 429 MB, free: 31.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003405/0.2216, allocations: 497 kB / 429.5 MB, free: 31.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005985/0.2222, allocations: 0.7057 MB / 430.2 MB, free: 31.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005156/0.2274, allocations: 4.761 MB / 435 MB, free: 29.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2274, allocations: 0 / 435 MB, free: 29.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2274, allocations: 0 / 435 MB, free: 29.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.2274, allocations: 0 / 435 MB, free: 29.58 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.002559/0.23, allocations: 2.629 MB / 437.6 MB, free: 27.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.23, allocations: 9.656 kB / 437.6 MB, free: 27.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.232, allocations: 0.8746 MB / 438.5 MB, free: 27.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.2334, allocations: 1.201 MB / 439.7 MB, free: 26.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.2335, allocations: 224.1 kB / 439.9 MB, free: 26.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.2337, allocations: 148 kB / 440.1 MB, free: 26.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.2356, allocations: 1.668 MB / 441.7 MB, free: 25.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.2356, allocations: 2.656 kB / 441.7 MB, free: 25.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.2358, allocations: 61.25 kB / 441.8 MB, free: 25.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.2358, allocations: 38.06 kB / 441.8 MB, free: 25.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.2379, allocations: 1.951 MB / 443.8 MB, free: 23.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004646/0.2425, allocations: 6.065 MB / 449.8 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.2434, allocations: 0.7329 MB / 450.6 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.2439, allocations: 317.9 kB / 450.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004362/0.2482, allocations: 4.236 MB / 455.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.2482, allocations: 47.92 kB / 455.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001488/0.2484, allocations: 95.12 kB / 455.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.244e-06/0.2484, allocations: 0 / 455.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0009474/0.2493, allocations: 0.6113 MB / 455.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.2494, allocations: 111.3 kB / 456 MB, free: 11.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/0.2501, allocations: 1.181 MB / 457.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.2501, allocations: 33.7 kB / 457.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.2504, allocations: 1.056 MB / 458.3 MB, free: 8.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.2505, allocations: 207.8 kB / 458.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.2507, allocations: 351.6 kB / 458.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.287e-05/0.2507, allocations: 480.8 kB / 459.3 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.251, allocations: 171.9 kB / 459.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.2516, allocations: 1.653 MB / 461.1 MB, free: 5.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2526, allocations: 2.013 MB / 463.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.2526, allocations: 12 kB / 463.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00139/0.254, allocations: 1.494 MB / 464.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.254, allocations: 20 kB / 464.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.254, allocations: 36 kB / 464.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.2544, allocations: 164.9 kB / 464.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.255, allocations: 479.5 kB / 465.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.257, allocations: 5.418 MB / 470.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.2575, allocations: 90.47 kB / 470.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.2576, allocations: 128 kB / 470.9 MB, free: 11.13 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.00028/0.2579, allocations: 290.3 kB / 471.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.258, allocations: 147.1 kB / 471.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.2595, allocations: 1.389 MB / 472.7 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2595, allocations: 2.688 kB / 472.7 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2596, allocations: 4 kB / 472.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2596, allocations: 0 / 472.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.2609, allocations: 1.284 MB / 474 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2609, allocations: 4 kB / 474 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.261, allocations: 67.89 kB / 474.1 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.2614, allocations: 179.7 kB / 474.3 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.2614, allocations: 19.98 kB / 474.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.2634, allocations: 5.172 MB / 479.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.2634, allocations: 11.92 kB / 479.5 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.2641, allocations: 0.9418 MB / 480.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.2642, allocations: 103.2 kB / 480.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.2643, allocations: 12 kB / 480.5 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.2645, allocations: 14.64 kB / 480.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.2646, allocations: 43.83 kB / 480.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.2646, allocations: 19.98 kB / 480.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006231/0.2652, allocations: 0.7394 MB / 481.4 MB, free: 192 kB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2652, allocations: 0 / 481.4 MB, free: 192 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001726/0.2669, allocations: 0.8834 MB / 482.2 MB, free: 15.3 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.001324/0.2683, allocations: 1.094 MB / 483.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009967/0.2692, allocations: 0.7555 MB / 484.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2693, allocations: 0 / 484.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.2696, allocations: 474.6 kB / 484.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.2704, allocations: 225.9 kB / 484.8 MB, free: 12.97 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.002671/0.273, allocations: 2.193 MB / 487 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.2732, allocations: 239.3 kB / 487.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006745/0.2739, allocations: 375.5 kB / 487.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.2741, allocations: 199.7 kB / 487.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2741, allocations: 0 / 487.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of Templates: time 0.02464/0.2987, allocations: 25.23 MB / 0.501 GB, free: 1.715 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.52837448194623]