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.0006651/0.0006651, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000931/0.001596, allocations: 440 kB / 10.41 MB, free: 284 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.0006998/0.0006998, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009707/0.001671, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.015/1.015, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0955/1.111, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1065/0.1065, allocations: 24.18 MB / 268.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1375/0.244, allocations: 7.753 MB / 276.1 MB, free: 0.8398 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-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 1.784e-06/1.784e-06, allocations: 0 / 277.6 MB, free: 96 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.125e-05, allocations: 3.578 kB / 277.6 MB, free: 92 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SIR): time 0.006492/0.006503, allocations: 6.928 MB / 284.5 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.008307, allocations: 1.173 MB / 285.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.008579, allocations: 26.09 kB / 285.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.008838, allocations: 148.8 kB / 285.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.009017, allocations: 93.98 kB / 285.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.00949, allocations: 300.2 kB / 286.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.01005, allocations: 0.7206 MB / 287 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.01048, allocations: 316.9 kB / 287.3 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.01089, allocations: 481.9 kB / 287.7 MB, free: 9.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.01119, allocations: 213 kB / 287.9 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.199e-05/0.01128, allocations: 80.69 kB / 288 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.0114, allocations: 90.56 kB / 288.1 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.01152, allocations: 130.4 kB / 288.2 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.01168, allocations: 180.7 kB / 288.4 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.01218, allocations: 451 kB / 288.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.01219, allocations: 0 / 288.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01219, allocations: 0 / 288.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.01221, allocations: 0 / 288.9 MB, free: 9.117 MB / 282.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.0009269/0.01313, allocations: 0.9305 MB / 289.8 MB, free: 8.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.01316, allocations: 9.594 kB / 289.8 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.01342, allocations: 212 kB / 290 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.0138, allocations: 341.2 kB / 290.3 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.01384, allocations: 57.66 kB / 290.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.01391, allocations: 82.11 kB / 290.5 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.01437, allocations: 0.5318 MB / 291 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01438, allocations: 1.375 kB / 291 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.01441, allocations: 25.5 kB / 291 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.01443, allocations: 20.75 kB / 291.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.01461, allocations: 153.9 kB / 291.2 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.01612, allocations: 1.57 MB / 292.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.01634, allocations: 188.1 kB / 293 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.01648, allocations: 130.2 kB / 293.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.0165, allocations: 10.81 kB / 293.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.01652, allocations: 41.3 kB / 293.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.162e-06/0.01652, allocations: 0 / 293.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002554/0.01678, allocations: 189.6 kB / 293.3 MB, free: 6.074 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.01682, allocations: 116.1 kB / 293.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01703, allocations: 321.2 kB / 293.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.01707, allocations: 43.17 kB / 293.8 MB, free: 5.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.01722, allocations: 320.7 kB / 294.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.01728, allocations: 114.3 kB / 294.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.01738, allocations: 124.3 kB / 294.3 MB, free: 5.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.01747, allocations: 351.4 kB / 294.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.01755, allocations: 55 kB / 294.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.0177, allocations: 232 kB / 295 MB, free: 4.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.01796, allocations: 312.8 kB / 295.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01796, allocations: 2.531 kB / 295.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002886/0.01825, allocations: 305 kB / 295.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01826, allocations: 11.45 kB / 295.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01827, allocations: 4.062 kB / 295.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01828, allocations: 8.906 kB / 295.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.01847, allocations: 97.55 kB / 295.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01848, allocations: 16.38 kB / 295.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01859, allocations: 58.45 kB / 295.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.01861, allocations: 17.12 kB / 295.8 MB, free: 4.172 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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,susceptible.inflow.stopInflow,removed.inflow.stopInflow,removed.outflow.stopInflow,susceptible.outflow.stopInflow,infected.inflow.stopOutflow,infected.inflow.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001203/0.01873, allocations: 172.2 kB / 295.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.01878, allocations: 34.14 kB / 296 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.01883, allocations: 44.02 kB / 296 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01883, allocations: 3.969 kB / 296 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01883, allocations: 5.312 kB / 296 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01884, allocations: 9.266 kB / 296 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.0195, allocations: 0.7402 MB / 296.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.0195, allocations: 1.406 kB / 296.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.01962, allocations: 52.69 kB / 296.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.01968, allocations: 44.16 kB / 296.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01968, allocations: 8.625 kB / 296.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.0197, allocations: 8.156 kB / 296.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.0197, allocations: 8.375 kB / 296.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.0197, allocations: 2.906 kB / 296.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.01998, allocations: 371.9 kB / 297.3 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.02001, allocations: 17.36 kB / 297.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.02008, allocations: 8.406 kB / 297.3 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.02012, allocations: 31.39 kB / 297.3 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.02013, allocations: 6.812 kB / 297.3 MB, free: 3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.953e-05/0.02021, allocations: 111 kB / 297.4 MB, free: 2.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02021, allocations: 5.375 kB / 297.4 MB, free: 2.938 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.02046, allocations: 130.5 kB / 297.6 MB, free: 2.891 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 34 * 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 8.225e-05/0.02054, allocations: 108.4 kB / 297.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.02078, allocations: 239.3 kB / 297.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.02079, allocations: 4 kB / 297.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.02089, allocations: 113.2 kB / 298 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.02133, allocations: 0.6073 MB / 298.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.02247, allocations: 0.9835 MB / 299.6 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.553e-05/0.02254, allocations: 133.9 kB / 299.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.02267, allocations: 57.23 kB / 299.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.02283, allocations: 135.3 kB / 299.9 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of SimCode: time 4.5e-07/0.02283, allocations: 0 / 299.9 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of Templates: time 0.007069/0.0299, allocations: 4.727 MB / 304.7 MB, free: 11.93 MB / 298.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=240 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.669579447247088]