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.001532/0.001532, allocations: 92.7 kB / 19.44 MB, free: 324 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.001736/0.001736, allocations: 161.3 kB / 22.76 MB, free: 1.656 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 1.505/1.505, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.1427/0.1427, allocations: 17.37 MB / 276.9 MB, free: 11.66 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 2.224e-06/2.224e-06, allocations: 0 / 352.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.611e-05, allocations: 4.984 kB / 352.7 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.0612/0.06124, allocations: 29.13 MB / 381.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05588/0.1171, allocations: 24.83 MB / 406.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.1188, allocations: 35.69 kB / 406.7 MB, free: 4.336 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.1211, allocations: 0.6279 MB / 407.3 MB, free: 3.703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004707/0.1258, allocations: 1.318 MB / 408.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1549/0.2807, allocations: 4.473 MB / 413.1 MB, free: 33.9 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.2836, allocations: 2.276 MB / 415.4 MB, free: 33.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.2849, allocations: 0.9626 MB / 416.4 MB, free: 33.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.2868, allocations: 1.424 MB / 417.8 MB, free: 33.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.2884, allocations: 0.9253 MB / 418.7 MB, free: 33.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.2887, allocations: 178.7 kB / 418.9 MB, free: 33.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006812/0.2955, allocations: 2.562 MB / 421.5 MB, free: 32.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000606/0.2961, allocations: 493.1 kB / 421.9 MB, free: 32.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.2972, allocations: 0.6999 MB / 422.6 MB, free: 32.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009688/0.3069, allocations: 5.458 MB / 428.1 MB, free: 31.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3069, allocations: 2.484 kB / 428.1 MB, free: 31.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3069, allocations: 0 / 428.1 MB, free: 31.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.503e-05/0.3069, allocations: 0 / 428.1 MB, free: 31.89 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.003692/0.3106, allocations: 2.502 MB / 430.6 MB, free: 30.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3107, allocations: 8.594 kB / 430.6 MB, free: 30.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.3132, allocations: 0.8751 MB / 431.5 MB, free: 30.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.3152, allocations: 1.206 MB / 432.7 MB, free: 29.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.3154, allocations: 217.3 kB / 432.9 MB, free: 29.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.3156, allocations: 146.4 kB / 433 MB, free: 29.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.3185, allocations: 2.036 MB / 435.1 MB, free: 28.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.3185, allocations: 6.156 kB / 435.1 MB, free: 28.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.3187, allocations: 64.31 kB / 435.1 MB, free: 28.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.3187, allocations: 37.72 kB / 435.2 MB, free: 28.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.3222, allocations: 2.741 MB / 437.9 MB, free: 26.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008333/0.3305, allocations: 5.854 MB / 443.8 MB, free: 21.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.3321, allocations: 0.9838 MB / 444.8 MB, free: 20.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.3328, allocations: 0.513 MB / 445.3 MB, free: 19.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008435/0.3412, allocations: 4.32 MB / 449.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3413, allocations: 43 kB / 449.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000388/0.3417, allocations: 86.61 kB / 449.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.315e-06/0.3417, allocations: 0 / 449.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001648/0.3433, allocations: 0.8624 MB / 450.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3433, allocations: 114.9 kB / 450.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/0.3443, allocations: 1.163 MB / 451.9 MB, free: 13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.3444, allocations: 33.7 kB / 451.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.3447, allocations: 1.002 MB / 452.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3448, allocations: 199.8 kB / 453.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.3452, allocations: 338 kB / 453.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.3452, allocations: 305.1 kB / 453.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.3456, allocations: 307.8 kB / 454 MB, free: 10.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.3464, allocations: 1.317 MB / 455.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.3478, allocations: 1.818 MB / 457.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.3478, allocations: 12 kB / 457.2 MB, free: 6.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002308/0.3501, allocations: 1.766 MB / 458.9 MB, free: 5.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.3502, allocations: 23.94 kB / 459 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.3502, allocations: 36 kB / 459 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/0.3507, allocations: 167.7 kB / 459.2 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.3519, allocations: 482 kB / 459.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.3538, allocations: 3.844 MB / 463.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009909/0.3548, allocations: 91.41 kB / 463.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.3549, allocations: 128 kB / 463.7 MB, free: 436 kB / 330.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.0004981/0.3554, allocations: 379.5 kB / 464.1 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.3557, allocations: 146.5 kB / 464.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.3584, allocations: 1.373 MB / 465.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.3584, allocations: 4 kB / 465.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3584, allocations: 2.656 kB / 465.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3585, allocations: 3.984 kB / 465.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.361, allocations: 1.289 MB / 466.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.361, allocations: 4 kB / 466.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.3613, allocations: 78.75 kB / 466.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008179/0.3621, allocations: 179.4 kB / 467.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.3622, allocations: 16 kB / 467.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/0.3657, allocations: 3.69 MB / 470.8 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3657, allocations: 7.594 kB / 470.8 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3674, allocations: 0.9808 MB / 471.8 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.3677, allocations: 111.1 kB / 471.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.3679, allocations: 8 kB / 471.9 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.3684, allocations: 15.98 kB / 471.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.3685, allocations: 39.45 kB / 472 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.3685, allocations: 26.64 kB / 472 MB, free: 7.812 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001487/0.37, allocations: 0.8371 MB / 472.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.37, allocations: 4 kB / 472.9 MB, free: 6.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003044/0.3731, allocations: 0.8795 MB / 473.7 MB, free: 6.09 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.00247/0.3755, allocations: 1.1 MB / 474.8 MB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.3777, allocations: 0.8685 MB / 475.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3777, allocations: 0 / 475.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006659/0.3784, allocations: 404 kB / 476.1 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.3797, allocations: 229.9 kB / 476.3 MB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.3839, allocations: 2.27 MB / 478.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.3848, allocations: 0.6006 MB / 479.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001288/0.386, allocations: 390.4 kB / 479.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.3865, allocations: 201.3 kB / 479.8 MB, free: 500 kB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3865, allocations: 0 / 479.8 MB, free: 500 kB / 346.7 MB Notification: Performance of Templates: time 0.04513/0.4316, allocations: 25.16 MB / 0.4931 GB, free: 8.25 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.756787808029912]