Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.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.0009482/0.0009482, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001034/0.001034, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9815/0.9815, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1194/0.1194, allocations: 21.8 MB / 282.1 MB, free: 7.074 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/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(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 306 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.7e-05, allocations: 4.406 kB / 306 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003121/0.003138, allocations: 1.778 MB / 307.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.003877, allocations: 328.5 kB / 308.1 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.004018, allocations: 11.94 kB / 308.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.004178, allocations: 62.12 kB / 308.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/0.004254, allocations: 32.28 kB / 308.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.004532, allocations: 168 kB / 308.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.004848, allocations: 359.5 kB / 308.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.005075, allocations: 203.1 kB / 308.9 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.005217, allocations: 211.5 kB / 309.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.005335, allocations: 115.6 kB / 309.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.005374, allocations: 36 kB / 309.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.971e-05/0.005403, allocations: 40 kB / 309.3 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.005463, allocations: 91.59 kB / 309.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.005531, allocations: 111.7 kB / 309.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.005766, allocations: 274.7 kB / 309.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005769, allocations: 0 / 309.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00577, allocations: 0 / 309.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.005773, allocations: 0 / 309.8 MB, free: 6.281 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.0005307/0.006304, allocations: 0.5903 MB / 310.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.006332, allocations: 12.03 kB / 310.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.006392, allocations: 76.77 kB / 310.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.006611, allocations: 220.9 kB / 310.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.006633, allocations: 41.31 kB / 310.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.00667, allocations: 52.38 kB / 310.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.006942, allocations: 352.6 kB / 311.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.006954, allocations: 192 / 311.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.006973, allocations: 20.38 kB / 311.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.006984, allocations: 12.38 kB / 311.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.007084, allocations: 106.8 kB / 311.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.007996, allocations: 1.293 MB / 312.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.008162, allocations: 130.4 kB / 312.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.0082, allocations: 32.84 kB / 312.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.008218, allocations: 7.984 kB / 312.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.008319, allocations: 87.34 kB / 312.8 MB, free: 3.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.00832, allocations: 0 / 312.8 MB, free: 3.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001699/0.00849, allocations: 125.5 kB / 312.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.008518, allocations: 55.41 kB / 313 MB, free: 2.926 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.008637, allocations: 221.2 kB / 313.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.008655, allocations: 29.7 kB / 313.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.008748, allocations: 232.2 kB / 313.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.008785, allocations: 87.3 kB / 313.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.008835, allocations: 49.97 kB / 313.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.008914, allocations: 338.7 kB / 313.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.008942, allocations: 24.55 kB / 313.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.009005, allocations: 98.39 kB / 314 MB, free: 1.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.009119, allocations: 144.4 kB / 314.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.009122, allocations: 0 / 314.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001429/0.009264, allocations: 160.1 kB / 314.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.009275, allocations: 4 kB / 314.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.00928, allocations: 4.281 kB / 314.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.009292, allocations: 8 kB / 314.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.009393, allocations: 47.92 kB / 314.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.009399, allocations: 15.86 kB / 314.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.00945, allocations: 19.84 kB / 314.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.009461, allocations: 12 kB / 314.4 MB, free: 1.359 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,Non_infected.Integrator1.local_reset,Infected.Integrator1.local_reset,Sick.Integrator1.local_reset,Immune.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.184e-05/0.009542, allocations: 137.6 kB / 314.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.009559, allocations: 15.98 kB / 314.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.009696, allocations: 130.7 kB / 314.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.009698, allocations: 4 kB / 314.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.0097, allocations: 0 / 314.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.009703, allocations: 4 kB / 314.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.009967, allocations: 358.4 kB / 315.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.00997, allocations: 4 kB / 315.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.01006, allocations: 31.92 kB / 315.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01006, allocations: 4 kB / 315.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01008, allocations: 4 kB / 315.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01008, allocations: 3.938 kB / 315.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01008, allocations: 0 / 315.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01025, allocations: 242.4 kB / 315.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.01027, allocations: 28.45 kB / 315.4 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.01028, allocations: 8 kB / 315.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.633e-05/0.01033, allocations: 8 kB / 315.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.01036, allocations: 19.84 kB / 315.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.01036, allocations: 0 / 315.4 MB, free: 332 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.501e-05/0.01041, allocations: 70.78 kB / 315.5 MB, free: 260 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01041, allocations: 0 / 315.5 MB, free: 260 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.01059, allocations: 79.62 kB / 315.6 MB, free: 180 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Non_infected.Integrator1.y,Infected.Integrator1.y,Sick.Integrator1.y,Immune.Integrator1.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 6.531e-05/0.01065, allocations: 77.08 kB / 315.6 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.01079, allocations: 104.9 kB / 315.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.0108, allocations: 4 kB / 315.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.01084, allocations: 52.66 kB / 315.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01101, allocations: 43.42 kB / 315.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.01156, allocations: 0.5751 MB / 316.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.01161, allocations: 104.1 kB / 316.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.34e-05/0.01169, allocations: 26.31 kB / 316.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.01177, allocations: 79.38 kB / 316.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01177, allocations: 0 / 316.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of Templates: time 0.003577/0.01535, allocations: 1.733 MB / 318.3 MB, free: 13.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.837095132097602]