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.001505/0.001505, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001719/0.001719, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9798/0.9798, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.09392/0.09392, allocations: 17.46 MB / 278.5 MB, free: 11.41 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.643e-06/1.643e-06, allocations: 3.938 kB / 354.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.063e-05, allocations: 2.312 kB / 354.8 MB, free: 10.46 MB / 330.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.03134/0.03136, allocations: 32.15 MB / 387 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.05106, allocations: 25.27 MB / 412.2 MB, free: 1.031 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.05228, allocations: 27.75 kB / 412.2 MB, free: 1.004 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.05356, allocations: 0.5735 MB / 412.8 MB, free: 436 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.05634, allocations: 1.287 MB / 414.1 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008166/0.06451, allocations: 4.071 MB / 418.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.06708, allocations: 2.273 MB / 420.5 MB, free: 8.746 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.06822, allocations: 0.9746 MB / 421.4 MB, free: 7.742 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.06963, allocations: 1.49 MB / 422.9 MB, free: 6.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.07068, allocations: 0.99 MB / 423.9 MB, free: 5.258 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.07088, allocations: 179.9 kB / 424.1 MB, free: 5.082 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005127/0.07601, allocations: 2.308 MB / 426.4 MB, free: 2.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004515/0.07646, allocations: 498.4 kB / 426.9 MB, free: 2.281 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008037/0.07727, allocations: 0.7055 MB / 427.6 MB, free: 1.574 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00965/0.08692, allocations: 4.486 MB / 432.1 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.08692, allocations: 0 / 432.1 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08693, allocations: 3.938 kB / 432.1 MB, free: 13.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.423e-05/0.08699, allocations: 0 / 432.1 MB, free: 13.07 MB / 410.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.003208/0.0902, allocations: 2.594 MB / 434.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.09024, allocations: 8.031 kB / 434.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.09182, allocations: 0.8125 MB / 435.5 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.09297, allocations: 1.046 MB / 436.5 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.0931, allocations: 218.3 kB / 436.7 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.09327, allocations: 144.4 kB / 436.9 MB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.09484, allocations: 1.534 MB / 438.4 MB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.09486, allocations: 0 / 438.4 MB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.09498, allocations: 63.94 kB / 438.5 MB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.095, allocations: 36 kB / 438.5 MB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.09694, allocations: 1.697 MB / 440.2 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.145/0.2419, allocations: 6.09 MB / 446.3 MB, free: 86.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.243, allocations: 0.6794 MB / 447 MB, free: 85.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.2434, allocations: 280.8 kB / 447.3 MB, free: 85.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006188/0.2496, allocations: 4.096 MB / 451.4 MB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2496, allocations: 40.52 kB / 451.4 MB, free: 85.26 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002915/0.2499, allocations: 90.77 kB / 451.5 MB, free: 85.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.755e-06/0.2499, allocations: 0 / 451.5 MB, free: 85.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.001059/0.251, allocations: 0.5782 MB / 452.1 MB, free: 85.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.251, allocations: 117 kB / 452.2 MB, free: 85.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.2518, allocations: 1.174 MB / 453.4 MB, free: 84.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.2519, allocations: 35.66 kB / 453.4 MB, free: 84.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.2523, allocations: 1.069 MB / 454.5 MB, free: 84.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2524, allocations: 206.3 kB / 454.7 MB, free: 84.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.2527, allocations: 353.6 kB / 455 MB, free: 84.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.2528, allocations: 478.3 kB / 455.5 MB, free: 83.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.253, allocations: 143.3 kB / 455.6 MB, free: 83.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.2536, allocations: 1.63 MB / 457.2 MB, free: 81.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.2548, allocations: 1.968 MB / 459.2 MB, free: 79.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/0.2549, allocations: 9.812 kB / 459.2 MB, free: 79.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00175/0.2566, allocations: 1.424 MB / 460.6 MB, free: 79.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2566, allocations: 19.66 kB / 460.7 MB, free: 79.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.2567, allocations: 39.56 kB / 460.7 MB, free: 79.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.2571, allocations: 165.1 kB / 460.9 MB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/0.258, allocations: 473.5 kB / 461.3 MB, free: 79.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.2596, allocations: 5.364 MB / 466.7 MB, free: 74.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007314/0.2603, allocations: 84.2 kB / 466.8 MB, free: 74.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/0.2604, allocations: 118.3 kB / 466.9 MB, free: 74.26 MB / 410.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.0003051/0.2607, allocations: 289.6 kB / 467.2 MB, free: 74.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.2609, allocations: 161.6 kB / 467.3 MB, free: 74.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.2621, allocations: 1.393 MB / 468.7 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2621, allocations: 3.156 kB / 468.7 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2621, allocations: 3.938 kB / 468.7 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2621, allocations: 3.062 kB / 468.7 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.2634, allocations: 1.29 MB / 470 MB, free: 73.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2634, allocations: 5.875 kB / 470 MB, free: 73.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2635, allocations: 64.94 kB / 470.1 MB, free: 73.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003707/0.2639, allocations: 176.5 kB / 470.3 MB, free: 73.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.2639, allocations: 14.47 kB / 470.3 MB, free: 73.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.265, allocations: 5.134 MB / 475.4 MB, free: 68.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.265, allocations: 2.938 kB / 475.4 MB, free: 68.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.2656, allocations: 0.9181 MB / 476.3 MB, free: 67.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.2657, allocations: 108.8 kB / 476.4 MB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.2658, allocations: 13.25 kB / 476.4 MB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.266, allocations: 9 kB / 476.5 MB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.2661, allocations: 45.38 kB / 476.5 MB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.2661, allocations: 16.2 kB / 476.5 MB, free: 67.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004183/0.2665, allocations: 0.6831 MB / 477.2 MB, free: 67.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2665, allocations: 0 / 477.2 MB, free: 67.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001696/0.2682, allocations: 0.8323 MB / 478 MB, free: 67.12 MB / 410.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.001199/0.2694, allocations: 1.034 MB / 479.1 MB, free: 66.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009906/0.2704, allocations: 0.7122 MB / 479.8 MB, free: 66.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2704, allocations: 0 / 479.8 MB, free: 66.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.2706, allocations: 476.8 kB / 480.2 MB, free: 66.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.2714, allocations: 224.1 kB / 480.5 MB, free: 66.57 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.2739, allocations: 2.181 MB / 482.6 MB, free: 65.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.274, allocations: 234.9 kB / 482.9 MB, free: 65.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000693/0.2747, allocations: 358.7 kB / 483.2 MB, free: 65.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.2752, allocations: 392.5 kB / 483.6 MB, free: 65.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2752, allocations: 0 / 483.6 MB, free: 65.23 MB / 410.7 MB Notification: Performance of Templates: time 0.03189/0.307, allocations: 28.56 MB / 0.5002 GB, free: 59.44 MB / 410.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.861730434000492]