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.0009313/0.0009313, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.001391/0.001391, allocations: 173 kB / 23.5 MB, free: 1.059 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.8989/0.8989, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.08515/0.08515, allocations: 17.38 MB / 277.7 MB, free: 11.7 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.683e-06/1.683e-06, allocations: 0 / 353.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.841e-05, allocations: 2.312 kB / 353.5 MB, free: 10.3 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.02652/0.02654, allocations: 32.29 MB / 385.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1642/0.1907, allocations: 28.34 MB / 414.1 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.192, allocations: 35.56 kB / 414.1 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.1934, allocations: 0.614 MB / 414.7 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1962, allocations: 1.327 MB / 416.1 MB, free: 33.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008989/0.2052, allocations: 4.487 MB / 420.6 MB, free: 32.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003073/0.2082, allocations: 2.274 MB / 422.8 MB, free: 31.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.2095, allocations: 0.9626 MB / 423.8 MB, free: 31.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.2112, allocations: 1.438 MB / 425.2 MB, free: 31.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.2126, allocations: 0.9563 MB / 426.2 MB, free: 31.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.2129, allocations: 179.4 kB / 426.4 MB, free: 31.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005879/0.2188, allocations: 2.563 MB / 428.9 MB, free: 31.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005215/0.2193, allocations: 494.1 kB / 429.4 MB, free: 31.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.2203, allocations: 0.7014 MB / 430.1 MB, free: 31.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009896/0.2302, allocations: 4.765 MB / 434.9 MB, free: 29.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2303, allocations: 3.312 kB / 434.9 MB, free: 29.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2303, allocations: 0 / 434.9 MB, free: 29.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.546e-05/0.2303, allocations: 0 / 434.9 MB, free: 29.54 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.003194/0.2335, allocations: 2.628 MB / 437.5 MB, free: 27.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2336, allocations: 9.906 kB / 437.5 MB, free: 27.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.2353, allocations: 0.8726 MB / 438.4 MB, free: 27.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2367, allocations: 1.201 MB / 439.6 MB, free: 26.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2368, allocations: 219.7 kB / 439.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.237, allocations: 151.5 kB / 440 MB, free: 26.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.2387, allocations: 1.665 MB / 441.6 MB, free: 25.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.2388, allocations: 0 / 441.6 MB, free: 25.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.2389, allocations: 67.84 kB / 441.7 MB, free: 25.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.2389, allocations: 38.41 kB / 441.7 MB, free: 25.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.241, allocations: 1.944 MB / 443.7 MB, free: 23.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0052/0.2462, allocations: 6.063 MB / 449.7 MB, free: 17.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/0.2472, allocations: 0.7356 MB / 450.5 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004009/0.2476, allocations: 320.8 kB / 450.8 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005486/0.2531, allocations: 4.229 MB / 455 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2531, allocations: 45.83 kB / 455.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002618/0.2533, allocations: 91.14 kB / 455.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.815e-06/0.2533, allocations: 0 / 455.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001006/0.2544, allocations: 0.6103 MB / 455.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.2544, allocations: 115.3 kB / 455.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/0.2551, allocations: 1.177 MB / 457 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.2551, allocations: 37.7 kB / 457.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.2554, allocations: 1.059 MB / 458.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.2555, allocations: 202.3 kB / 458.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.2557, allocations: 352.9 kB / 458.7 MB, free: 8.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.2558, allocations: 483.4 kB / 459.2 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.256, allocations: 167.9 kB / 459.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/0.2566, allocations: 1.657 MB / 461 MB, free: 5.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2577, allocations: 2.017 MB / 463 MB, free: 2.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.2577, allocations: 12 kB / 463 MB, free: 2.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001416/0.2591, allocations: 1.499 MB / 464.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.2591, allocations: 23.94 kB / 464.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.2591, allocations: 36 kB / 464.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.2595, allocations: 165.7 kB / 464.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.2602, allocations: 481.5 kB / 465.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.2623, allocations: 5.41 MB / 470.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.2629, allocations: 94.47 kB / 470.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.2631, allocations: 124 kB / 470.8 MB, free: 11.16 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.000339/0.2634, allocations: 293.9 kB / 471.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.2636, allocations: 143.2 kB / 471.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.2651, allocations: 1.39 MB / 472.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.2651, allocations: 10.64 kB / 472.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2651, allocations: 0 / 472.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2651, allocations: 0 / 472.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.2666, allocations: 1.271 MB / 473.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2666, allocations: 7.984 kB / 473.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.2667, allocations: 71.89 kB / 474 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.2671, allocations: 183.6 kB / 474.2 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.2672, allocations: 15.98 kB / 474.2 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.2691, allocations: 5.176 MB / 479.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2691, allocations: 4 kB / 479.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007543/0.2698, allocations: 0.9456 MB / 480.3 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.27, allocations: 107.1 kB / 480.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.2701, allocations: 12 kB / 480.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2703, allocations: 14.61 kB / 480.4 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.2703, allocations: 43.83 kB / 480.5 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.2704, allocations: 20 kB / 480.5 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000644/0.271, allocations: 0.7355 MB / 481.2 MB, free: 236 kB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.271, allocations: 0 / 481.2 MB, free: 236 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.00197/0.273, allocations: 0.8834 MB / 482.1 MB, free: 15.34 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.001427/0.2744, allocations: 1.1 MB / 483.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.2756, allocations: 0.7478 MB / 484 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2756, allocations: 0 / 484 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.2759, allocations: 478.5 kB / 484.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.2766, allocations: 226.9 kB / 484.7 MB, free: 13.02 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.003007/0.2797, allocations: 2.194 MB / 486.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.2798, allocations: 239.3 kB / 487.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007341/0.2805, allocations: 379 kB / 487.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.2808, allocations: 196.8 kB / 487.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.794e-06/0.2808, allocations: 0 / 487.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of Templates: time 0.02728/0.3081, allocations: 25.23 MB / 0.5009 GB, free: 1.75 MB / 378.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: 3.56390398577787]