Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0006953/0.0006953, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009906/0.001686, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007255/0.0007255, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009859/0.001711, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9959/0.9959, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09104/1.087, allocations: 53.65 MB / 243.2 MB, free: 15.61 MB / 250.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.09194/0.09194, allocations: 17.37 MB / 261.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01215/0.1041, allocations: 6.929 MB / 268.3 MB, free: 6.535 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 269.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.828e-05, allocations: 2.312 kB / 269.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002936/0.002954, allocations: 2.937 MB / 272.5 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1473/0.1503, allocations: 3.517 MB / 276 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.1505, allocations: 14.17 kB / 276 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1508, allocations: 106.7 kB / 276.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.1512, allocations: 207.7 kB / 276.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1524, allocations: 0.5631 MB / 276.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000586/0.153, allocations: 0.4962 MB / 277.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.1533, allocations: 153 kB / 277.5 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003869/0.1536, allocations: 342.6 kB / 277.9 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.154, allocations: 209.1 kB / 278.1 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.321e-05/0.1541, allocations: 24.56 kB / 278.1 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007744/0.1548, allocations: 291.1 kB / 278.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1549, allocations: 54.28 kB / 278.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1551, allocations: 99.47 kB / 278.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008839/0.156, allocations: 0.6045 MB / 279.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.759e-05/0.156, allocations: 4.344 kB / 279.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.156, allocations: 0 / 279.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.156, allocations: 0 / 279.1 MB, free: 1.066 MB / 266.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.001055/0.1571, allocations: 0.7269 MB / 279.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1571, allocations: 10.22 kB / 279.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.1576, allocations: 249.1 kB / 280.1 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.158, allocations: 294.5 kB / 280.4 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.158, allocations: 15.62 kB / 280.4 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1581, allocations: 20.34 kB / 280.4 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.1584, allocations: 303.1 kB / 280.7 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1584, allocations: 5.125 kB / 280.7 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1584, allocations: 14.73 kB / 280.7 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1585, allocations: 5.625 kB / 280.7 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.1589, allocations: 322.1 kB / 281.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.16, allocations: 1.121 MB / 282.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1601, allocations: 142.6 kB / 282.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.1602, allocations: 41.3 kB / 282.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.1613, allocations: 0.7709 MB / 283.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1613, allocations: 37.88 kB / 283.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1613, allocations: 0.7188 kB / 283.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002346/0.1615, allocations: 149.1 kB / 283.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1616, allocations: 58.53 kB / 283.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1618, allocations: 327.5 kB / 283.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1618, allocations: 30.89 kB / 283.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1619, allocations: 209 kB / 283.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1619, allocations: 44.25 kB / 284 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.162, allocations: 69.27 kB / 284 MB, free: 14.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1621, allocations: 348.2 kB / 284.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.1622, allocations: 31.91 kB / 284.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1623, allocations: 206 kB / 284.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.1625, allocations: 291.9 kB / 284.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1625, allocations: 1.469 kB / 284.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002876/0.1628, allocations: 229.4 kB / 285.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1629, allocations: 9.344 kB / 285.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1629, allocations: 5.625 kB / 285.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1629, allocations: 9.719 kB / 285.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.1631, allocations: 99.44 kB / 285.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1631, allocations: 11.38 kB / 285.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1632, allocations: 40.73 kB / 285.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.1632, allocations: 24.34 kB / 285.3 MB, free: 13.68 MB / 282.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 9.445e-05/0.1633, allocations: 137 kB / 285.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1633, allocations: 26.2 kB / 285.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.1637, allocations: 243.4 kB / 285.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1637, allocations: 2.141 kB / 285.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1637, allocations: 0 / 285.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1637, allocations: 4 kB / 285.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.164, allocations: 485.3 kB / 286.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.164, allocations: 5.453 kB / 286.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.1641, allocations: 12.17 kB / 286.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.1641, allocations: 28.16 kB / 286.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1641, allocations: 2.328 kB / 286.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1641, allocations: 1.781 kB / 286.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1641, allocations: 2.812 kB / 286.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1641, allocations: 6.031 kB / 286.3 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.1642, allocations: 144 kB / 286.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.1643, allocations: 8.438 kB / 286.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.1643, allocations: 6.219 kB / 286.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.1643, allocations: 15.58 kB / 286.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1643, allocations: 2.625 kB / 286.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.1645, allocations: 148.2 kB / 286.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1645, allocations: 0 / 286.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.1648, allocations: 117.7 kB / 286.7 MB, free: 12.79 MB / 282.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.0002917/0.1651, allocations: 195.4 kB / 286.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1653, allocations: 115 kB / 287 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.1653, allocations: 5.25 kB / 287 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.1653, allocations: 26.59 kB / 287 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1656, allocations: 122.8 kB / 287.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.1692, allocations: 0.5579 MB / 287.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.162e-05/0.1692, allocations: 87.19 kB / 287.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000194/0.1694, allocations: 82.78 kB / 287.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.1696, allocations: 121.9 kB / 288 MB, free: 12.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1696, allocations: 0 / 288 MB, free: 12.09 MB / 282.7 MB Notification: Performance of Templates: time 0.008738/0.1783, allocations: 5.363 MB / 293.3 MB, free: 10.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.77540997415781]