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.0008582/0.0008582, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001157/0.001157, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8692/0.8692, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.08908/0.08908, allocations: 17.36 MB / 277.3 MB, free: 11.87 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.233e-06/1.233e-06, allocations: 0 / 412.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.533e-05, allocations: 9.172 kB / 412.7 MB, free: 15.89 MB / 394.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.0227/0.02273, allocations: 28.92 MB / 441.6 MB, free: 3.043 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1613/0.1841, allocations: 24.83 MB / 466.5 MB, free: 49.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1851, allocations: 30.53 kB / 466.5 MB, free: 49.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1861, allocations: 0.6177 MB / 467.1 MB, free: 49.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.1884, allocations: 1.323 MB / 468.4 MB, free: 48.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00717/0.1956, allocations: 4.477 MB / 472.9 MB, free: 45.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.1975, allocations: 2.272 MB / 475.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007426/0.1982, allocations: 0.931 MB / 476.1 MB, free: 44.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008221/0.199, allocations: 1.426 MB / 477.6 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.1998, allocations: 0.9249 MB / 478.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.1999, allocations: 178.6 kB / 478.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004418/0.2043, allocations: 2.561 MB / 481.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.2046, allocations: 490.3 kB / 481.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005512/0.2052, allocations: 0.6994 MB / 482.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006937/0.2121, allocations: 5.457 MB / 487.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2121, allocations: 0 / 487.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2121, allocations: 0 / 487.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.2121, allocations: 4.688 kB / 487.9 MB, free: 40.2 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.002663/0.2148, allocations: 2.493 MB / 490.3 MB, free: 38.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2148, allocations: 13.53 kB / 490.4 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.2161, allocations: 0.5304 MB / 490.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.2175, allocations: 1.172 MB / 492.1 MB, free: 37.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.2176, allocations: 218.5 kB / 492.3 MB, free: 37.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.2178, allocations: 143.5 kB / 492.4 MB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.2198, allocations: 2.037 MB / 494.5 MB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.2198, allocations: 1.344 kB / 494.5 MB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.2199, allocations: 68.94 kB / 494.5 MB, free: 36.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.2199, allocations: 36.12 kB / 494.6 MB, free: 36.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.2227, allocations: 2.741 MB / 497.3 MB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/0.2289, allocations: 5.793 MB / 0.4913 GB, free: 32.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.2302, allocations: 0.9943 MB / 0.4923 GB, free: 32.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.2308, allocations: 0.5156 MB / 0.4928 GB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00592/0.2367, allocations: 4.16 MB / 0.4968 GB, free: 30.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2367, allocations: 43.83 kB / 0.4969 GB, free: 30.62 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000259/0.237, allocations: 88.53 kB / 0.497 GB, free: 30.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.555e-06/0.237, allocations: 0 / 0.497 GB, free: 30.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.001181/0.2382, allocations: 0.8472 MB / 0.4978 GB, free: 30.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2382, allocations: 115.8 kB / 0.4979 GB, free: 30.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/0.2391, allocations: 1.167 MB / 0.499 GB, free: 29.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.2391, allocations: 35.42 kB / 0.4991 GB, free: 29.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.2395, allocations: 0.9967 MB / 0.5 GB, free: 28.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/0.2395, allocations: 200.6 kB / 0.5002 GB, free: 28.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.2398, allocations: 339.6 kB / 0.5006 GB, free: 28.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.305e-05/0.2398, allocations: 305.1 kB / 0.5009 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.2402, allocations: 312.2 kB / 0.5012 GB, free: 28.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.2408, allocations: 1.315 MB / 0.5024 GB, free: 26.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.2419, allocations: 1.811 MB / 0.5042 GB, free: 24.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.2419, allocations: 9.031 kB / 0.5042 GB, free: 24.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00164/0.2435, allocations: 1.686 MB / 0.5059 GB, free: 23.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2436, allocations: 20 kB / 0.5059 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.2436, allocations: 40 kB / 0.5059 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.244, allocations: 168.6 kB / 0.5061 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.2446, allocations: 476.9 kB / 0.5065 GB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.2459, allocations: 3.835 MB / 0.5103 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.2466, allocations: 89.14 kB / 0.5104 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/0.2467, allocations: 129.5 kB / 0.5105 GB, free: 18.84 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.0004303/0.2471, allocations: 382.3 kB / 0.5109 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.2472, allocations: 137.8 kB / 0.511 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.2485, allocations: 1.364 MB / 0.5123 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2485, allocations: 4 kB / 0.5123 GB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.2485, allocations: 0 / 0.5123 GB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.2485, allocations: 8.5 kB / 0.5123 GB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.2498, allocations: 1.29 MB / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2498, allocations: 4 kB / 0.5136 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.2499, allocations: 69.48 kB / 0.5137 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003618/0.2503, allocations: 184.6 kB / 0.5138 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.2503, allocations: 12 kB / 0.5138 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009492/0.2513, allocations: 3.69 MB / 0.5174 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2513, allocations: 9.344 kB / 0.5175 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/0.2519, allocations: 0.9675 MB / 0.5184 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.252, allocations: 105 kB / 0.5185 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.2521, allocations: 8 kB / 0.5185 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2523, allocations: 20.67 kB / 0.5185 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.2523, allocations: 42.69 kB / 0.5186 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2523, allocations: 21.31 kB / 0.5186 GB, free: 10.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005721/0.2529, allocations: 0.8439 MB / 0.5194 GB, free: 10.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2529, allocations: 0 / 0.5194 GB, free: 10.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001711/0.2546, allocations: 0.8795 MB / 0.5203 GB, free: 9.156 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.001128/0.2557, allocations: 1.099 MB / 0.5213 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.2568, allocations: 0.8808 MB / 0.5222 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2568, allocations: 0 / 0.5222 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.2571, allocations: 411.7 kB / 0.5226 GB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.2578, allocations: 182.3 kB / 0.5228 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.2598, allocations: 2.264 MB / 0.525 GB, free: 4.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.2601, allocations: 0.5967 MB / 0.5256 GB, free: 3.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.2603, allocations: 298 kB / 0.5259 GB, free: 3.488 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/0.2603, allocations: 0 / 0.5259 GB, free: 3.488 MB / 410.7 MB Notification: Performance of Templates: time 0.03454/0.2949, allocations: 49.2 MB / 0.5739 GB, free: 2.84 MB / 458.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.998638019897044] Failed to read output from testmodel.py, exit status != 0: 0.3009653137996793 0.309708333 0.09586778900000001 Calling exit ...