Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002029/0.002028, allocations: 176.3 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.3 MB / 213.4 MB, free: 13.69 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 92.8 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.2537/0.2537, allocations: 28.84 MB / 338.2 MB, free: 0.5 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.013e-05, allocations: 0 / 399 MB, free: 56.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.0956, allocations: 54.65 MB / 453.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5187, allocations: 77.92 MB / 0.5192 GB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.519, allocations: 61.59 kB / 0.5192 GB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02086/0.5398, allocations: 5.29 MB / 0.5244 GB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5399, allocations: 0 / 0.5244 GB, free: 12.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.5399, allocations: 8 kB / 0.5244 GB, free: 12.82 MB / 362.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.001008/0.5409, allocations: 0.5821 MB / 0.525 GB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.541, allocations: 12.03 kB / 0.525 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.5411, allocations: 55.33 kB / 0.525 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.5417, allocations: 307.2 kB / 0.5253 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.5417, allocations: 16 kB / 0.5253 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.5418, allocations: 33.7 kB / 0.5254 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005507/0.5424, allocations: 184.6 kB / 0.5255 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/0.5432, allocations: 363 kB / 0.5259 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.5433, allocations: 4 kB / 0.5259 GB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.5433, allocations: 3.984 kB / 0.5259 GB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.5433, allocations: 12 kB / 0.5259 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.5459, allocations: 1.584 MB / 0.5274 GB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.5465, allocations: 158.1 kB / 0.5276 GB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.5467, allocations: 64.86 kB / 0.5277 GB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.5467, allocations: 8 kB / 0.5277 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.547, allocations: 108.6 kB / 0.5278 GB, free: 9.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 5.55e-06/0.547, allocations: 0 / 0.5278 GB, free: 9.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004624/0.5475, allocations: 169.3 kB / 0.5279 GB, free: 9.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.5475, allocations: 55.34 kB / 0.528 GB, free: 9.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.5478, allocations: 188.4 kB / 0.5282 GB, free: 9.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.5479, allocations: 25.7 kB / 0.5282 GB, free: 9.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.5481, allocations: 255.7 kB / 0.5284 GB, free: 8.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.5482, allocations: 70.92 kB / 0.5285 GB, free: 8.754 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.5482, allocations: 0 / 0.5285 GB, free: 8.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5484, allocations: 339.1 kB / 0.5288 GB, free: 8.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5485, allocations: 48.56 kB / 0.5289 GB, free: 8.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.5488, allocations: 129.4 kB / 0.529 GB, free: 8.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.549, allocations: 67.97 kB / 0.5291 GB, free: 8.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.549, allocations: 4 kB / 0.5291 GB, free: 8.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005512/0.5496, allocations: 221 kB / 0.5293 GB, free: 7.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5496, allocations: 7.938 kB / 0.5293 GB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5496, allocations: 4 kB / 0.5293 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5497, allocations: 4 kB / 0.5293 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.55, allocations: 47.92 kB / 0.5293 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5501, allocations: 7.984 kB / 0.5293 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.5503, allocations: 20.12 kB / 0.5294 GB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.5503, allocations: 8 kB / 0.5294 GB, free: 7.816 MB / 362.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,Immune.Integrator1.local_reset,Sick.Integrator1.local_reset,Infected.Integrator1.local_reset,Non_infected.Integrator1.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.5504, allocations: 116.9 kB / 0.5295 GB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.5505, allocations: 23.72 kB / 0.5295 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.551, allocations: 180.4 kB / 0.5297 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.551, allocations: 4 kB / 0.5297 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.551, allocations: 0 / 0.5297 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5511, allocations: 0 / 0.5297 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009485/0.552, allocations: 0.5576 MB / 0.5302 GB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.552, allocations: 0 / 0.5302 GB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.5524, allocations: 35.92 kB / 0.5303 GB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.5524, allocations: 3.984 kB / 0.5303 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.5525, allocations: 0 / 0.5303 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.5525, allocations: 4 kB / 0.5303 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5525, allocations: 0 / 0.5303 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.5531, allocations: 341.9 kB / 0.5306 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.5532, allocations: 100.8 kB / 0.5307 GB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.5533, allocations: 4 kB / 0.5307 GB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.5535, allocations: 48 / 0.5307 GB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.5535, allocations: 19.91 kB / 0.5307 GB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.5536, allocations: 8 kB / 0.5307 GB, free: 6.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.5538, allocations: 144.5 kB / 0.5309 GB, free: 6.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5538, allocations: 0 / 0.5309 GB, free: 6.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004848/0.5543, allocations: 67.53 kB / 0.5309 GB, free: 6.141 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001527/0.5544, allocations: 100.9 kB / 0.531 GB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.5549, allocations: 152.1 kB / 0.5312 GB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5549, allocations: 0 / 0.5312 GB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.5551, allocations: 67.94 kB / 0.5312 GB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.5555, allocations: 36.36 kB / 0.5313 GB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.5568, allocations: 452.6 kB / 0.5317 GB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.5573, allocations: 0.8101 MB / 0.5325 GB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.5575, allocations: 22.08 kB / 0.5325 GB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.5575, allocations: 19.44 kB / 0.5325 GB, free: 4.438 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5576, allocations: 0 / 0.5325 GB, free: 4.438 MB / 362.7 MB Notification: Performance of Templates: time 0.007106/0.5647, allocations: 1.481 MB / 0.534 GB, free: 2.957 MB / 362.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile (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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1)