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.0008952/0.0008952, allocations: 93.06 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.0009325/0.0009325, allocations: 165 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.9542/0.9542, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.08874/0.08874, allocations: 17.45 MB / 277.4 MB, free: 11.57 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.956e-06/2.956e-06, allocations: 11.88 kB / 353.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.252e-05, allocations: 2.312 kB / 353.6 MB, free: 9.848 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.0331/0.03313, allocations: 32.27 MB / 385.8 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1645/0.1976, allocations: 25.89 MB / 411.7 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.1989, allocations: 33.53 kB / 411.7 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.2002, allocations: 0.5785 MB / 412.3 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.2031, allocations: 1.284 MB / 413.6 MB, free: 33.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0081/0.2112, allocations: 4.08 MB / 417.7 MB, free: 33.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.2145, allocations: 2.265 MB / 420 MB, free: 32.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.2159, allocations: 0.9745 MB / 420.9 MB, free: 32.4 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.2178, allocations: 1.436 MB / 422.4 MB, free: 32.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.2193, allocations: 0.957 MB / 423.3 MB, free: 32.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005893/0.2199, allocations: 177.6 kB / 423.5 MB, free: 32.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006288/0.2262, allocations: 2.312 MB / 425.8 MB, free: 32.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.2269, allocations: 491.3 kB / 426.3 MB, free: 32.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.2285, allocations: 0.7018 MB / 427 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.2393, allocations: 4.437 MB / 431.4 MB, free: 30.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2393, allocations: 0 / 431.4 MB, free: 30.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2393, allocations: 0 / 431.4 MB, free: 30.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.271e-05/0.2394, allocations: 0 / 431.4 MB, free: 30.45 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.003789/0.2432, allocations: 2.577 MB / 434 MB, free: 28.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2433, allocations: 10.22 kB / 434 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.245, allocations: 0.8724 MB / 434.9 MB, free: 28.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.2464, allocations: 1.196 MB / 436.1 MB, free: 27.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.2466, allocations: 223 kB / 436.3 MB, free: 27.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.2468, allocations: 145 kB / 436.4 MB, free: 27.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.2486, allocations: 1.671 MB / 438.1 MB, free: 26.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.2486, allocations: 3.469 kB / 438.1 MB, free: 26.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.2488, allocations: 64.97 kB / 438.2 MB, free: 26.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.2488, allocations: 37.16 kB / 438.2 MB, free: 26.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.2509, allocations: 1.939 MB / 440.2 MB, free: 25.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/0.2565, allocations: 6.066 MB / 446.2 MB, free: 19.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2575, allocations: 0.7371 MB / 447 MB, free: 18.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.2579, allocations: 325.1 kB / 447.3 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005137/0.263, allocations: 4.098 MB / 451.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2631, allocations: 48.83 kB / 451.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000314/0.2634, allocations: 87.14 kB / 451.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.525e-06/0.2634, allocations: 0 / 451.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001056/0.2645, allocations: 0.6093 MB / 452.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.2645, allocations: 115.3 kB / 452.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.2653, allocations: 1.177 MB / 453.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.2653, allocations: 40.61 kB / 453.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.2657, allocations: 1.058 MB / 454.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.2658, allocations: 200.9 kB / 454.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.266, allocations: 348.9 kB / 455 MB, free: 10.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.266, allocations: 484.8 kB / 455.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.2663, allocations: 167.9 kB / 455.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.2669, allocations: 1.65 MB / 457.3 MB, free: 7.883 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.2681, allocations: 2.018 MB / 459.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.2681, allocations: 14.66 kB / 459.4 MB, free: 5.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001463/0.2695, allocations: 1.497 MB / 460.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.2696, allocations: 20 kB / 460.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.2696, allocations: 36 kB / 460.9 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.27, allocations: 165.7 kB / 461.1 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.2706, allocations: 481.6 kB / 461.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.2725, allocations: 5.412 MB / 467 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007358/0.2732, allocations: 90.55 kB / 467 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.2733, allocations: 127.8 kB / 467.2 MB, free: 13.55 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.0003859/0.2737, allocations: 290.7 kB / 467.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.2739, allocations: 143.1 kB / 467.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.2754, allocations: 1.4 MB / 469 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2754, allocations: 0 / 469 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2754, allocations: 4 kB / 469 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2754, allocations: 0 / 469 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.2769, allocations: 1.277 MB / 470.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.277, allocations: 4 kB / 470.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2771, allocations: 73.64 kB / 470.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.2775, allocations: 178 kB / 470.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.2776, allocations: 18.67 kB / 470.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.2797, allocations: 5.169 MB / 475.7 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2797, allocations: 5.969 kB / 475.7 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/0.2806, allocations: 0.9553 MB / 476.7 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.2809, allocations: 103.2 kB / 476.8 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.281, allocations: 14.69 kB / 476.8 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.2812, allocations: 14.61 kB / 476.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.2812, allocations: 46.98 kB / 476.8 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.2813, allocations: 15.98 kB / 476.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006732/0.2819, allocations: 0.7394 MB / 477.6 MB, free: 2.703 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2819, allocations: 0 / 477.6 MB, free: 2.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002187/0.2841, allocations: 0.8251 MB / 478.4 MB, free: 1.875 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.001528/0.2856, allocations: 0.9896 MB / 479.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.2869, allocations: 0.7472 MB / 480.2 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2869, allocations: 0 / 480.2 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.2873, allocations: 474.6 kB / 480.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/0.288, allocations: 231.7 kB / 480.8 MB, free: 15.74 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.00315/0.2912, allocations: 2.188 MB / 483 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.2914, allocations: 235.3 kB / 483.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000773/0.2921, allocations: 382.3 kB / 483.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.2924, allocations: 194.8 kB / 483.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2924, allocations: 4 kB / 483.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of Templates: time 0.02834/0.3207, allocations: 23.72 MB / 0.4957 GB, free: 6.043 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.77443345496431]