Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.SIR.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.001599/0.001599, allocations: 88.72 kB / 19.44 MB, free: 352 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.001842/0.001842, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.379 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo): time 0.1784/0.1784, allocations: 24.12 MB / 283.7 MB, free: 5.152 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/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(BusinessSimulation.Examples.SIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SIR") translateModel(BusinessSimulation.Examples.SIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SIR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 360.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.582e-05, allocations: 9.344 kB / 360.5 MB, free: 4.305 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SIR): time 0.01042/0.01045, allocations: 6.715 MB / 367.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.01337, allocations: 1.11 MB / 368.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.01412, allocations: 23.81 kB / 368.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.01472, allocations: 146.6 kB / 368.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.01521, allocations: 87.12 kB / 368.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.01627, allocations: 295.3 kB / 368.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.01759, allocations: 0.7421 MB / 369.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.01838, allocations: 303.1 kB / 369.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008196/0.0192, allocations: 459 kB / 370.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.01963, allocations: 207.3 kB / 370.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.01981, allocations: 84 kB / 370.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.02001, allocations: 95.92 kB / 370.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.02023, allocations: 183.4 kB / 370.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.02055, allocations: 223.4 kB / 371.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.02172, allocations: 0.8216 MB / 371.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.02172, allocations: 3.984 kB / 371.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.02173, allocations: 0 / 371.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.02175, allocations: 4 kB / 371.9 MB, free: 8.789 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001972/0.02373, allocations: 0.8254 MB / 372.8 MB, free: 7.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.02377, allocations: 8.75 kB / 372.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/0.02432, allocations: 156.4 kB / 372.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008079/0.02513, allocations: 392.1 kB / 373.3 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.02521, allocations: 62.38 kB / 373.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.02534, allocations: 88.06 kB / 373.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.02677, allocations: 0.7716 MB / 374.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.02679, allocations: 0 / 374.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-05/0.02686, allocations: 32 kB / 374.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.02688, allocations: 16 kB / 374.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.02768, allocations: 381 kB / 374.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.0312, allocations: 1.842 MB / 376.5 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.03189, allocations: 312.8 kB / 376.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.03235, allocations: 203.7 kB / 377 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.03238, allocations: 16.28 kB / 377 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.03242, allocations: 38.84 kB / 377 MB, free: 3.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/0.03242, allocations: 3.938 kB / 377.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009152/0.03334, allocations: 410.8 kB / 377.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.0335, allocations: 209.6 kB / 377.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.034, allocations: 320.3 kB / 378 MB, free: 2.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.03407, allocations: 41.7 kB / 378 MB, free: 2.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.03443, allocations: 328.7 kB / 378.3 MB, free: 2.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.03458, allocations: 123 kB / 378.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.03482, allocations: 122.5 kB / 378.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.03505, allocations: 350.8 kB / 378.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.03541, allocations: 153.2 kB / 379.1 MB, free: 1.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.03603, allocations: 406 kB / 379.5 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007666/0.0368, allocations: 401.3 kB / 379.9 MB, free: 448 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.0368, allocations: 0 / 379.9 MB, free: 448 kB / 346.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001147/0.03795, allocations: 0.5438 MB / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.03798, allocations: 8 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.038, allocations: 4 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.03803, allocations: 4 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.03838, allocations: 83.83 kB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/0.0384, allocations: 8.406 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.03877, allocations: 67.55 kB / 380.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.03881, allocations: 20 kB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.susceptible.inflow.stopInflow,$PRE.susceptible.outflow.stopInflow,$PRE.removed.inflow.stopInflow,$PRE.removed.outflow.stopInflow,$PRE.infected.inflow.stopInflow,$PRE.infected.inflow.stopOutflow,removed.outflow.stopInflow,removed.inflow.stopInflow,infected.inflow.stopInflow,infected.inflow.stopOutflow,susceptible.outflow.stopInflow,becoming_infected.adopting.flowing.portA.stopInflow,becoming_infected.converting.portA.stopInflow,becoming_infected.adopting.flowing.portB.stopOutflow,becoming_infected.converting.portB.stopOutflow,becoming_infected.adopting.flowing.useB_rate,$PRE.becoming_infected.adopting.flowing.useB_rate,becoming_infected.adopting.flowing.useA_rate,$PRE.becoming_infected.adopting.flowing.useA_rate,becoming_infected.adopting.flowing.portB.stopInflow,becoming_infected.adopting.flowing.portA.stopOutflow,becoming_infected.converting.useB_rate,$PRE.becoming_infected.converting.useB_rate,becoming_infected.converting.useA_rate,$PRE.becoming_infected.converting.useA_rate,becoming_infected.converting.portB.stopInflow,becoming_infected.converting.portA.stopOutflow,removed.outflow.stopOutflow,$PRE.removed.outflow.stopOutflow,removed.inflow.stopOutflow,$PRE.removed.inflow.stopOutflow,susceptible.outflow.stopOutflow,$PRE.susceptible.outflow.stopOutflow,susceptible.inflow.stopOutflow,$PRE.susceptible.inflow.stopOutflow,susceptible.inflow.stopInflow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0003671/0.03918, allocations: 225.7 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.03933, allocations: 47.77 kB / 380.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.03945, allocations: 43.86 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.03946, allocations: 4 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.03946, allocations: 0 / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.03947, allocations: 7.938 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.04145, allocations: 1.085 MB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.04145, allocations: 4 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.04173, allocations: 51.91 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.04174, allocations: 4 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.04177, allocations: 8 kB / 382.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.04178, allocations: 8 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.04178, allocations: 256 / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.04274, allocations: 0.596 MB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.0429, allocations: 67.72 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.04296, allocations: 16 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.04317, allocations: 11.98 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.04329, allocations: 47.81 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.04332, allocations: 8 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.04358, allocations: 203.1 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04358, allocations: 0 / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005563/0.04414, allocations: 143.5 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 5 (susceptible.x,removed.x,infected.x_hidden[1],infected.x_hidden[2],infected.x_hidden[3]) * Number of discrete variables: 16 (becoming_infected.adopting.flowing.portA.stopOutflow,becoming_infected.converting.portA.stopOutflow,susceptible.outflow.stopOutflow,removed.outflow.stopOutflow,susceptible.inflow.stopOutflow,removed.inflow.stopOutflow,becoming_infected.converting.useA_rate,becoming_infected.adopting.flowing.useA_rate,becoming_infected.adopting.flowing.portA.stopInflow,becoming_infected.converting.portA.stopInflow,becoming_infected.adopting.flowing.portB.stopOutflow,becoming_infected.converting.portB.stopOutflow,becoming_infected.adopting.flowing.useB_rate,becoming_infected.adopting.flowing.portB.stopInflow,becoming_infected.converting.useB_rate,becoming_infected.converting.portB.stopInflow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0001759/0.04432, allocations: 127.2 kB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.04535, allocations: 354.3 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.04536, allocations: 0 / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.04566, allocations: 153 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007251/0.04638, allocations: 118.3 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.04844, allocations: 0.96 MB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.04882, allocations: 271.3 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.0491, allocations: 64.14 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.04923, allocations: 36.5 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.04923, allocations: 0 / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Templates: time 0.01383/0.06305, allocations: 5.15 MB / 390.4 MB, free: 5.848 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.SIR.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.SIR.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.SIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.812399199930951]