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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.1694/0.1694, allocations: 31.56 MB / 336.6 MB, free: 14.58 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001928/0.001928, allocations: 66.3 kB / 470.9 MB, free: 36.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.0974, allocations: 59.51 MB / 0.518 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SIR): time 0.008922/0.1063, allocations: 7.272 MB / 0.5251 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.1089, allocations: 1.106 MB / 0.5261 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000485/0.1094, allocations: 19.94 kB / 0.5262 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.1098, allocations: 142.6 kB / 0.5263 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.1101, allocations: 91.16 kB / 0.5264 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.1109, allocations: 307.2 kB / 0.5267 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007862/0.1117, allocations: 0.7267 MB / 0.5274 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005583/0.1123, allocations: 322.3 kB / 0.5277 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.1126, allocations: 302.9 kB / 0.528 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.113, allocations: 310.5 kB / 0.5283 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1131, allocations: 84 kB / 0.5284 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1132, allocations: 88 kB / 0.5284 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1134, allocations: 179.5 kB / 0.5286 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.1137, allocations: 338.3 kB / 0.5289 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000894/0.1146, allocations: 0.7975 MB / 0.5297 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1146, allocations: 3.984 kB / 0.5297 GB, free: 364 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1146, allocations: 4 kB / 0.5297 GB, free: 360 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1146, allocations: 0 / 0.5297 GB, free: 360 kB / 382.1 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.001542/0.1161, allocations: 0.9124 MB / 0.5306 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1162, allocations: 8.031 kB / 0.5306 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.1165, allocations: 104.4 kB / 0.5307 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.1172, allocations: 462.8 kB / 0.5312 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.1173, allocations: 61.92 kB / 0.5312 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1174, allocations: 76 kB / 0.5313 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1185, allocations: 0.6461 MB / 0.5319 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1185, allocations: 4 kB / 0.5319 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.1186, allocations: 24 kB / 0.5319 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.1186, allocations: 20 kB / 0.532 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.1193, allocations: 385 kB / 0.5323 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.1225, allocations: 2.251 MB / 0.5345 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.1232, allocations: 304.6 kB / 0.5348 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.1236, allocations: 215.4 kB / 0.535 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1236, allocations: 12.2 kB / 0.535 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1237, allocations: 38.84 kB / 0.5351 GB, free: 10.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 1.863e-06/0.1237, allocations: 0 / 0.5351 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=38): time 0.0007872/0.1244, allocations: 398.7 kB / 0.5355 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.1246, allocations: 217.9 kB / 0.5357 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.125, allocations: 369.5 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.1251, allocations: 41.7 kB / 0.5361 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.1253, allocations: 324.8 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1254, allocations: 123 kB / 0.5365 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.1256, allocations: 118.3 kB / 0.5366 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1258, allocations: 350.8 kB / 0.5369 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.1261, allocations: 153.2 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.1266, allocations: 303.3 kB / 0.5374 GB, free: 8.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.1272, allocations: 414.2 kB / 0.5378 GB, free: 7.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1272, allocations: 0 / 0.5378 GB, free: 7.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008928/0.1281, allocations: 0.5063 MB / 0.5383 GB, free: 7.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.1281, allocations: 8.406 kB / 0.5383 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.1281, allocations: 12 kB / 0.5383 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1281, allocations: 8 kB / 0.5383 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.1284, allocations: 79.83 kB / 0.5384 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.1285, allocations: 11.94 kB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.1287, allocations: 71.53 kB / 0.5384 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.1288, allocations: 20 kB / 0.5385 GB, free: 6.938 MB / 398.1 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.0002717/0.1291, allocations: 214.3 kB / 0.5387 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.1292, allocations: 59.58 kB / 0.5387 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.933e-05/0.1293, allocations: 48.14 kB / 0.5388 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1293, allocations: 4 kB / 0.5388 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1293, allocations: 0 / 0.5388 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1293, allocations: 4 kB / 0.5388 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.131, allocations: 1.241 MB / 0.54 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.131, allocations: 0 / 0.54 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.1313, allocations: 51.91 kB / 0.54 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1313, allocations: 4 kB / 0.54 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.1313, allocations: 15.94 kB / 0.5401 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1313, allocations: 0 / 0.5401 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.1313, allocations: 8.25 kB / 0.5401 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.1321, allocations: 0.5923 MB / 0.5406 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.1323, allocations: 148.7 kB / 0.5408 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.1324, allocations: 19.94 kB / 0.5408 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.1326, allocations: 15.98 kB / 0.5408 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1327, allocations: 35.89 kB / 0.5409 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.1327, allocations: 12 kB / 0.5409 GB, free: 4.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002881/0.133, allocations: 243.2 kB / 0.5411 GB, free: 4.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.133, allocations: 0 / 0.5411 GB, free: 4.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005023/0.1335, allocations: 139.5 kB / 0.5412 GB, free: 3.949 MB / 398.1 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.00017/0.1337, allocations: 123.2 kB / 0.5413 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.1344, allocations: 351.8 kB / 0.5417 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1344, allocations: 0 / 0.5417 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.1346, allocations: 152.5 kB / 0.5418 GB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.1353, allocations: 115.1 kB / 0.5419 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.137, allocations: 1.005 MB / 0.5429 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.1376, allocations: 0.8625 MB / 0.5438 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1377, allocations: 43.44 kB / 0.5438 GB, free: 1.23 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1377, allocations: 0 / 0.5438 GB, free: 1.23 MB / 398.1 MB Notification: Performance of Templates: time 0.01009/0.1478, allocations: 6.245 MB / 0.5499 GB, free: 11.03 MB / 414.1 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=480 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.SIR.pipe 2>&1) [Timeout 480]