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.001259/0.001259, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001223/0.001223, allocations: 177 kB / 23.36 MB, free: 1.129 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.8994/0.8994, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.1289/0.1289, allocations: 21.81 MB / 282.1 MB, free: 7.051 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.332e-06/1.332e-06, allocations: 3.938 kB / 305.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.269e-05, allocations: 2.312 kB / 305.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.001958/0.001971, allocations: 1.732 MB / 307.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005903/0.002561, allocations: 340.3 kB / 308 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.002681, allocations: 7.938 kB / 308 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.00283, allocations: 58.66 kB / 308.1 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.002899, allocations: 31.56 kB / 308.1 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.003154, allocations: 164.2 kB / 308.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.003432, allocations: 362.9 kB / 308.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.003647, allocations: 207.1 kB / 308.8 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.003788, allocations: 207.5 kB / 309 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.003901, allocations: 115.5 kB / 309.1 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.003942, allocations: 36 kB / 309.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.79e-05/0.00397, allocations: 40 kB / 309.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.004022, allocations: 87.66 kB / 309.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.229e-05/0.004104, allocations: 119.6 kB / 309.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.004327, allocations: 270.7 kB / 309.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004329, allocations: 0 / 309.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00433, allocations: 0 / 309.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004334, allocations: 0 / 309.7 MB, free: 6.391 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.0005602/0.004894, allocations: 0.5903 MB / 310.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.004923, allocations: 12.03 kB / 310.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.004986, allocations: 72.88 kB / 310.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.005202, allocations: 221.1 kB / 310.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.005222, allocations: 37.38 kB / 310.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.005267, allocations: 52.31 kB / 310.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.005532, allocations: 356.6 kB / 311 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005543, allocations: 192 / 311 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.005561, allocations: 16.38 kB / 311 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.005571, allocations: 12.38 kB / 311 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.877e-05/0.005669, allocations: 106.8 kB / 311.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.006558, allocations: 1.296 MB / 312.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.006723, allocations: 127.6 kB / 312.6 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.006759, allocations: 35.77 kB / 312.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.006773, allocations: 4 kB / 312.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.88e-05/0.006872, allocations: 87.34 kB / 312.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.006873, allocations: 0 / 312.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001634/0.007037, allocations: 128.5 kB / 312.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.007063, allocations: 59.34 kB / 312.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.007175, allocations: 221.2 kB / 313.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.007189, allocations: 29.7 kB / 313.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.742e-05/0.007287, allocations: 240.2 kB / 313.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.007325, allocations: 79.31 kB / 313.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.007375, allocations: 49.97 kB / 313.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.007456, allocations: 338.7 kB / 313.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.007485, allocations: 24.55 kB / 313.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.007547, allocations: 102.4 kB / 313.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.007653, allocations: 140.3 kB / 314.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.007655, allocations: 0 / 314.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001404/0.007796, allocations: 160.1 kB / 314.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.007806, allocations: 6.625 kB / 314.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.007812, allocations: 8 kB / 314.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.007825, allocations: 4 kB / 314.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.007922, allocations: 43.92 kB / 314.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007927, allocations: 7.938 kB / 314.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.007978, allocations: 27.83 kB / 314.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.007987, allocations: 8 kB / 314.3 MB, free: 1.48 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 7.895e-05/0.008066, allocations: 137.6 kB / 314.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.008085, allocations: 19.98 kB / 314.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.008215, allocations: 119.8 kB / 314.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008216, allocations: 4 kB / 314.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.008218, allocations: 0 / 314.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008221, allocations: 4 kB / 314.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.008468, allocations: 361.4 kB / 315 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.00847, allocations: 3.984 kB / 315 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.008555, allocations: 31.94 kB / 315 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.008556, allocations: 0 / 315 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.00857, allocations: 11.98 kB / 315 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.008573, allocations: 7.922 kB / 315 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008573, allocations: 0 / 315 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.008738, allocations: 239.4 kB / 315.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.008757, allocations: 32.5 kB / 315.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.00877, allocations: 4 kB / 315.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.008814, allocations: 7.938 kB / 315.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.00884, allocations: 15.91 kB / 315.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.008846, allocations: 11.94 kB / 315.3 MB, free: 444 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.008887, allocations: 62.8 kB / 315.4 MB, free: 380 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008887, allocations: 0 / 315.4 MB, free: 380 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.009052, allocations: 79.62 kB / 315.4 MB, free: 300 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.708e-05/0.009119, allocations: 80.41 kB / 315.5 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.009239, allocations: 104.7 kB / 315.6 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.009241, allocations: 0 / 315.6 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.009284, allocations: 59.89 kB / 315.7 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.009442, allocations: 41.53 kB / 315.7 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.009976, allocations: 0.5751 MB / 316.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.218e-05/0.01003, allocations: 108.1 kB / 316.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.01008, allocations: 22.52 kB / 316.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.01016, allocations: 75.36 kB / 316.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01016, allocations: 0 / 316.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003503/0.01366, allocations: 1.728 MB / 318.2 MB, free: 13.48 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.707131141331047]