Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_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.001011/0.001011, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009298/0.0009298, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.1056/0.1056, allocations: 24.14 MB / 284.1 MB, free: 5.266 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.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(BusinessSimulation.Examples.SIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SIR") translateModel(BusinessSimulation.Examples.SIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SIR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 361.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.989e-05/4.248e-05, allocations: 5.547 kB / 361.2 MB, free: 3.836 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SIR): time 0.00767/0.007713, allocations: 6.926 MB / 368.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.009813, allocations: 1.114 MB / 369.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.0102, allocations: 23.81 kB / 369.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.01056, allocations: 142.7 kB / 369.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.01078, allocations: 91.11 kB / 369.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.01147, allocations: 311.2 kB / 369.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.01212, allocations: 0.7304 MB / 370.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.01255, allocations: 307.1 kB / 370.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.01295, allocations: 463 kB / 371.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.01319, allocations: 215.3 kB / 371.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.947e-05/0.01327, allocations: 84 kB / 371.6 MB, free: 9.406 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.01338, allocations: 88 kB / 371.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.0135, allocations: 187.4 kB / 371.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.01365, allocations: 227.4 kB / 372.1 MB, free: 8.914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.01415, allocations: 498.1 kB / 372.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01416, allocations: 0 / 372.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01416, allocations: 0 / 372.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.01417, allocations: 4 kB / 372.6 MB, free: 8.422 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.0009571/0.01512, allocations: 0.9249 MB / 373.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.01516, allocations: 8.75 kB / 373.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.01544, allocations: 160.4 kB / 373.7 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.01588, allocations: 394.9 kB / 374.1 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.01593, allocations: 62.38 kB / 374.1 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.01601, allocations: 80.12 kB / 374.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.01666, allocations: 0.6761 MB / 374.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01667, allocations: 0 / 374.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.01671, allocations: 24 kB / 374.9 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.01672, allocations: 23.98 kB / 374.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.01707, allocations: 227.6 kB / 375.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.01895, allocations: 2.081 MB / 377.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.01934, allocations: 261.9 kB / 377.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.01956, allocations: 164.1 kB / 377.6 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.01958, allocations: 4.281 kB / 377.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.01961, allocations: 45.98 kB / 377.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 1.533e-06/0.01961, allocations: 4 kB / 377.7 MB, free: 3.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.000438/0.02005, allocations: 291.1 kB / 378 MB, free: 2.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.02012, allocations: 217.6 kB / 378.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.02037, allocations: 358 kB / 378.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.0204, allocations: 45.7 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.02056, allocations: 367.2 kB / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.02063, allocations: 127 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.02075, allocations: 124 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.02088, allocations: 0.5238 MB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.02103, allocations: 89.19 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.02128, allocations: 387.8 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.02161, allocations: 338.5 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02162, allocations: 4 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004596/0.02207, allocations: 413 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.02209, allocations: 8.781 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.0221, allocations: 4 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.02212, allocations: 4 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.0223, allocations: 87.77 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.02231, allocations: 8.406 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.02244, allocations: 59.61 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.02246, allocations: 24 kB / 381.1 MB, free: 15.35 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.0001465/0.02261, allocations: 216.4 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.02268, allocations: 47.77 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.02273, allocations: 47.86 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.02273, allocations: 4 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.02274, allocations: 0 / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.02275, allocations: 11.92 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.02369, allocations: 1.126 MB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.0237, allocations: 4 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.02383, allocations: 51.91 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02384, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.02386, allocations: 11.98 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.02386, allocations: 7.938 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.02386, allocations: 4 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.0243, allocations: 0.5175 MB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.02438, allocations: 67.61 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.02442, allocations: 19.98 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.0245, allocations: 8 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.02457, allocations: 35.88 kB / 383.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.02458, allocations: 16 kB / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.02471, allocations: 223 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02471, allocations: 0 / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.025, allocations: 147.5 kB / 383.7 MB, free: 12.66 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.0001028/0.02511, allocations: 123.1 kB / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.02548, allocations: 275.4 kB / 384 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02548, allocations: 4 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.0256, allocations: 120.9 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.02599, allocations: 115.1 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.02698, allocations: 0.9174 MB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.668e-05/0.02707, allocations: 129.8 kB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.02721, allocations: 60.12 kB / 385.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.0273, allocations: 44.5 kB / 385.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0273, allocations: 0 / 385.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Templates: time 0.007691/0.03499, allocations: 5.152 MB / 390.6 MB, free: 5.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.SIR.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.SIR.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.SIR.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.SIR.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.SIR.sim & ./BusinessSimulation_BusinessSimulation.Examples.SIR -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.SIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3027630927972496]