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.001384/0.001384, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009249/0.0009249, allocations: 169.4 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.9293/0.9293, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.1005/0.1005, allocations: 17.37 MB / 278.4 MB, free: 11.48 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.332e-06/1.332e-06, allocations: 0 / 354.7 MB, free: 9.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.217e-05, allocations: 2.312 kB / 354.7 MB, free: 9.672 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.04256/0.04258, allocations: 32.16 MB / 386.8 MB, free: 9.621 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03994/0.08252, allocations: 25.25 MB / 412.1 MB, free: 292 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.08461, allocations: 35.69 kB / 412.1 MB, free: 256 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1485/0.2331, allocations: 0.5744 MB / 412.7 MB, free: 34.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.237, allocations: 1.286 MB / 414 MB, free: 34.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009076/0.2461, allocations: 4.073 MB / 418.1 MB, free: 33.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003461/0.2495, allocations: 2.274 MB / 420.3 MB, free: 32.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.2509, allocations: 0.971 MB / 421.3 MB, free: 32.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.2528, allocations: 1.494 MB / 422.8 MB, free: 32.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.2546, allocations: 0.9864 MB / 423.8 MB, free: 32.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005985/0.2552, allocations: 175.1 kB / 423.9 MB, free: 32.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006219/0.2614, allocations: 2.303 MB / 426.3 MB, free: 32.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006202/0.262, allocations: 0.4901 MB / 426.7 MB, free: 32.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.2634, allocations: 0.7082 MB / 427.5 MB, free: 32.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.2742, allocations: 4.487 MB / 431.9 MB, free: 30.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.2742, allocations: 0 / 431.9 MB, free: 30.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2742, allocations: 0 / 431.9 MB, free: 30.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.948e-05/0.2743, allocations: 0 / 431.9 MB, free: 30.84 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.003937/0.2783, allocations: 2.604 MB / 434.5 MB, free: 29.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2783, allocations: 12.23 kB / 434.6 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.2801, allocations: 0.8084 MB / 435.4 MB, free: 28.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.2814, allocations: 1.035 MB / 436.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.2816, allocations: 219.6 kB / 436.6 MB, free: 28.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.2817, allocations: 145.3 kB / 436.8 MB, free: 28.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.2832, allocations: 1.534 MB / 438.3 MB, free: 27.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.2832, allocations: 3 kB / 438.3 MB, free: 27.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.2833, allocations: 64.7 kB / 438.4 MB, free: 27.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.2834, allocations: 38.78 kB / 438.4 MB, free: 27.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.2849, allocations: 1.691 MB / 440.1 MB, free: 26.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005265/0.2902, allocations: 6.093 MB / 446.2 MB, free: 20.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.291, allocations: 0.6763 MB / 446.9 MB, free: 19.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.2913, allocations: 286.5 kB / 447.1 MB, free: 19.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00486/0.2961, allocations: 4.098 MB / 451.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.2961, allocations: 48.83 kB / 451.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000262/0.2964, allocations: 91.14 kB / 451.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.683e-06/0.2964, allocations: 2.625 kB / 451.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008544/0.2973, allocations: 0.5677 MB / 451.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2973, allocations: 114.2 kB / 452 MB, free: 14.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.298, allocations: 1.181 MB / 453.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.298, allocations: 33.7 kB / 453.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.2983, allocations: 1.072 MB / 454.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/0.2984, allocations: 194.5 kB / 454.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.2986, allocations: 357.2 kB / 454.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.2987, allocations: 476.8 kB / 455.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2989, allocations: 143.9 kB / 455.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.2994, allocations: 1.636 MB / 457.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.3005, allocations: 1.976 MB / 459.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.3005, allocations: 12 kB / 459.1 MB, free: 6.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001421/0.3019, allocations: 1.416 MB / 460.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.302, allocations: 22.97 kB / 460.5 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.302, allocations: 36 kB / 460.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.3023, allocations: 161.8 kB / 460.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.303, allocations: 475.2 kB / 461.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.3047, allocations: 5.377 MB / 466.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.3055, allocations: 90.47 kB / 466.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.3056, allocations: 116 kB / 466.8 MB, free: 15.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.0004008/0.306, allocations: 288.7 kB / 467.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.3062, allocations: 144.9 kB / 467.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.3081, allocations: 1.397 MB / 468.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3081, allocations: 0 / 468.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3081, allocations: 6.656 kB / 468.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3081, allocations: 10.27 kB / 468.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.3098, allocations: 1.292 MB / 469.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3098, allocations: 4 kB / 469.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.3099, allocations: 70.89 kB / 470 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.3104, allocations: 175.2 kB / 470.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.3104, allocations: 16 kB / 470.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.3131, allocations: 5.119 MB / 475.3 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.3131, allocations: 11.08 kB / 475.3 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009391/0.314, allocations: 0.9174 MB / 476.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.3143, allocations: 107.1 kB / 476.3 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.3144, allocations: 12 kB / 476.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.3146, allocations: 8 kB / 476.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.3147, allocations: 38.75 kB / 476.4 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.3147, allocations: 26.59 kB / 476.4 MB, free: 5.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005193/0.3152, allocations: 0.6842 MB / 477.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3152, allocations: 0 / 477.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002424/0.3176, allocations: 0.8251 MB / 477.9 MB, free: 4.055 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.001583/0.3192, allocations: 1.044 MB / 479 MB, free: 3.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3205, allocations: 0.7049 MB / 479.7 MB, free: 2.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3206, allocations: 0 / 479.7 MB, free: 2.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3209, allocations: 474.3 kB / 480.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.3219, allocations: 228.6 kB / 480.3 MB, free: 1.953 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.3255, allocations: 2.169 MB / 482.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.3257, allocations: 239.3 kB / 482.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001191/0.3269, allocations: 355.1 kB / 483.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.3273, allocations: 393.2 kB / 483.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.724e-06/0.3273, allocations: 2.656 kB / 483.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Templates: time 0.03437/0.3617, allocations: 28.55 MB / 0.5 GB, free: 3.453 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.793120357673615]