Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.001879/0.001879, allocations: 93.47 kB / 19.44 MB, free: 336 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.002152/0.002152, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1403/0.1403, allocations: 17.45 MB / 277 MB, free: 11.61 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 352.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.891e-05, allocations: 2.312 kB / 352.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.005444/0.005473, allocations: 2.979 MB / 355.8 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.01858, allocations: 6.293 MB / 362.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.01901, allocations: 11.88 kB / 362.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007215/0.01973, allocations: 138.8 kB / 362.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.02078, allocations: 273.8 kB / 362.5 MB, free: 456 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.02485, allocations: 0.9972 MB / 363.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.02599, allocations: 0.5062 MB / 364 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.02636, allocations: 144.8 kB / 364.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005886/0.02695, allocations: 303.4 kB / 364.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.02751, allocations: 207.5 kB / 364.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.02762, allocations: 28 kB / 364.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.02953, allocations: 0.5262 MB / 365.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.02973, allocations: 87.67 kB / 365.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.03001, allocations: 127.7 kB / 365.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003354/0.03336, allocations: 1.101 MB / 366.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.03337, allocations: 0 / 366.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.03338, allocations: 0 / 366.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.03339, allocations: 3.938 kB / 366.5 MB, free: 12.42 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002156/0.03554, allocations: 0.8024 MB / 367.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.0356, allocations: 8.031 kB / 367.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.03663, allocations: 183.7 kB / 367.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.03752, allocations: 328.3 kB / 367.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.03755, allocations: 20.88 kB / 367.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.03762, allocations: 20.38 kB / 367.9 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.03858, allocations: 399 kB / 368.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.0386, allocations: 3.938 kB / 368.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.03867, allocations: 12 kB / 368.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.03868, allocations: 4 kB / 368.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.04004, allocations: 0.5278 MB / 368.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.04345, allocations: 1.645 MB / 370.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.04398, allocations: 154.9 kB / 370.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.04428, allocations: 88.09 kB / 370.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003231/0.04751, allocations: 1.053 MB / 371.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.04757, allocations: 45.38 kB / 371.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.04757, allocations: 4 kB / 371.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007634/0.04833, allocations: 193.5 kB / 372 MB, free: 6.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.0484, allocations: 51.41 kB / 372 MB, free: 6.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007885/0.04918, allocations: 466.5 kB / 372.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.04923, allocations: 29.7 kB / 372.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.04959, allocations: 302.6 kB / 372.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.04967, allocations: 47.64 kB / 372.9 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.04987, allocations: 87.3 kB / 373 MB, free: 5.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004401/0.05031, allocations: 0.5351 MB / 373.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.05049, allocations: 51.97 kB / 373.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.05105, allocations: 330.8 kB / 373.9 MB, free: 4.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/0.0519, allocations: 426.4 kB / 374.3 MB, free: 4.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.05191, allocations: 0 / 374.3 MB, free: 4.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009688/0.05288, allocations: 344.8 kB / 374.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.0529, allocations: 8 kB / 374.6 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.05292, allocations: 8 kB / 374.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.05295, allocations: 8.812 kB / 374.6 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.05332, allocations: 83.83 kB / 374.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.05334, allocations: 12 kB / 374.7 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.05365, allocations: 35.78 kB / 374.8 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.05371, allocations: 24 kB / 374.8 MB, free: 3.621 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002785/0.05399, allocations: 212.2 kB / 375 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.05411, allocations: 39.77 kB / 375 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/0.055, allocations: 297.4 kB / 375.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.055, allocations: 4 kB / 375.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.055, allocations: 0 / 375.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.05501, allocations: 0 / 375.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.05627, allocations: 0.678 MB / 376 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.05627, allocations: 0 / 376 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.05637, allocations: 15.98 kB / 376 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.05637, allocations: 0 / 376 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.05639, allocations: 4 kB / 376 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.05639, allocations: 4.188 kB / 376 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/0.05641, allocations: 11.88 kB / 376 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.05677, allocations: 174.7 kB / 376.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.05689, allocations: 35.77 kB / 376.3 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.05697, allocations: 7.938 kB / 376.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.05712, allocations: 3.984 kB / 376.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.05716, allocations: 11.88 kB / 376.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.05717, allocations: 4 kB / 376.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005988/0.05777, allocations: 335.1 kB / 376.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.05777, allocations: 0 / 376.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009728/0.05874, allocations: 175.4 kB / 376.8 MB, free: 1.473 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008527/0.0596, allocations: 318.4 kB / 377.1 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005381/0.06013, allocations: 161 kB / 377.2 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.06014, allocations: 8 kB / 377.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.06023, allocations: 35.61 kB / 377.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.06099, allocations: 77.56 kB / 377.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.0624, allocations: 0.5445 MB / 377.9 MB, free: 280 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.06265, allocations: 164.8 kB / 378.1 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.06307, allocations: 90.19 kB / 378.2 MB, free: 8 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.06322, allocations: 48.47 kB / 378.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.06322, allocations: 0 / 378.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of Templates: time 0.01626/0.07949, allocations: 6.018 MB / 384.2 MB, free: 10.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.943819786072709]