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.001008/0.001008, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009255/0.0009255, allocations: 173 kB / 23.02 MB, free: 1.547 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.9347/0.9347, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.09763/0.09763, allocations: 17.47 MB / 277.4 MB, free: 11.54 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.204e-06/2.204e-06, allocations: 3.938 kB / 353.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.211e-05, allocations: 6.25 kB / 353.6 MB, free: 9.832 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.02697/0.027, allocations: 32.27 MB / 385.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1745/0.2015, allocations: 25.88 MB / 411.7 MB, free: 34.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.2029, allocations: 34.09 kB / 411.7 MB, free: 34.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.2043, allocations: 0.5805 MB / 412.3 MB, free: 34.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.2074, allocations: 1.285 MB / 413.6 MB, free: 33.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009092/0.2165, allocations: 4.081 MB / 417.7 MB, free: 33.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.2189, allocations: 2.265 MB / 420 MB, free: 32.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.2202, allocations: 0.9698 MB / 420.9 MB, free: 32.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.2217, allocations: 1.493 MB / 422.4 MB, free: 32.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.2231, allocations: 0.9909 MB / 423.4 MB, free: 32.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.2235, allocations: 178.9 kB / 423.6 MB, free: 32.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004933/0.2284, allocations: 2.298 MB / 425.9 MB, free: 32.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.2287, allocations: 0.4911 MB / 426.4 MB, free: 32.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.2294, allocations: 0.7093 MB / 427.1 MB, free: 31.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00453/0.2339, allocations: 4.484 MB / 431.6 MB, free: 30.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2339, allocations: 1.562 kB / 431.6 MB, free: 30.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2339, allocations: 0 / 431.6 MB, free: 30.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.882e-05/0.2339, allocations: 0 / 431.6 MB, free: 30.42 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.002845/0.2368, allocations: 2.595 MB / 434.2 MB, free: 28.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2368, allocations: 9.875 kB / 434.2 MB, free: 28.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.2383, allocations: 0.8156 MB / 435 MB, free: 28.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2394, allocations: 1.045 MB / 436 MB, free: 27.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.2395, allocations: 221 kB / 436.3 MB, free: 27.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.2397, allocations: 144.5 kB / 436.4 MB, free: 27.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.2414, allocations: 1.67 MB / 438.1 MB, free: 26.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.2414, allocations: 0 / 438.1 MB, free: 26.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.2416, allocations: 65.41 kB / 438.1 MB, free: 26.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.2416, allocations: 36.44 kB / 438.2 MB, free: 26.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.2437, allocations: 1.948 MB / 440.1 MB, free: 25.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.249, allocations: 6.09 MB / 446.2 MB, free: 19.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.2499, allocations: 0.7347 MB / 446.9 MB, free: 18.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.2503, allocations: 317.9 kB / 447.2 MB, free: 18.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004807/0.2551, allocations: 4.116 MB / 451.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2551, allocations: 45.83 kB / 451.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002367/0.2553, allocations: 87.14 kB / 451.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.975e-06/0.2553, allocations: 0 / 451.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001374/0.2567, allocations: 0.6161 MB / 452.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2567, allocations: 107.3 kB / 452.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/0.2576, allocations: 1.181 MB / 453.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.2576, allocations: 37.64 kB / 453.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.2579, allocations: 1.065 MB / 454.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.258, allocations: 199.2 kB / 454.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.2582, allocations: 349 kB / 455 MB, free: 10.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.2583, allocations: 476.8 kB / 455.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.2585, allocations: 175.9 kB / 455.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.259, allocations: 1.645 MB / 457.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.2602, allocations: 2.018 MB / 459.3 MB, free: 5.332 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.2602, allocations: 12 kB / 459.3 MB, free: 5.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001407/0.2616, allocations: 1.498 MB / 460.8 MB, free: 4.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.2616, allocations: 24 kB / 460.9 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.2617, allocations: 36 kB / 460.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.262, allocations: 165.7 kB / 461.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.2627, allocations: 484.2 kB / 461.5 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.2643, allocations: 5.406 MB / 466.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.2648, allocations: 90.55 kB / 467 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.2649, allocations: 128 kB / 467.2 MB, free: 13.52 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.0002535/0.2651, allocations: 294.8 kB / 467.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.2653, allocations: 147.1 kB / 467.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.2671, allocations: 1.392 MB / 469 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2671, allocations: 4 kB / 469 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.2671, allocations: 0 / 469 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2671, allocations: 0 / 469 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.2684, allocations: 1.274 MB / 470.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2684, allocations: 4 kB / 470.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.2686, allocations: 76.23 kB / 470.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/0.2689, allocations: 179.5 kB / 470.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.269, allocations: 18.62 kB / 470.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.2711, allocations: 5.171 MB / 475.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2711, allocations: 6.812 kB / 475.7 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.2718, allocations: 0.9476 MB / 476.7 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.2719, allocations: 107.2 kB / 476.8 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/0.272, allocations: 14.61 kB / 476.8 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2722, allocations: 14.69 kB / 476.8 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.2723, allocations: 46.69 kB / 476.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.2723, allocations: 16 kB / 476.8 MB, free: 3.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006469/0.2729, allocations: 0.7393 MB / 477.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2729, allocations: 0 / 477.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00166/0.2746, allocations: 0.829 MB / 478.4 MB, free: 1.836 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.001224/0.2758, allocations: 0.9886 MB / 479.4 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009318/0.2767, allocations: 0.7533 MB / 480.2 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2767, allocations: 0 / 480.2 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.277, allocations: 471.4 kB / 480.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.2777, allocations: 230.7 kB / 480.8 MB, free: 15.71 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.002543/0.2803, allocations: 2.178 MB / 483 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.2807, allocations: 239.3 kB / 483.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006677/0.2814, allocations: 372 kB / 483.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.2816, allocations: 199.8 kB / 483.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2816, allocations: 0 / 483.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.03082/0.3124, allocations: 28.12 MB / 0.4999 GB, free: 1.777 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.720645392779261]