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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 192.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1754/0.1754, allocations: 29.24 MB / 335.5 MB, free: 11.3 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/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(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 0.001839/0.001839, allocations: 67.89 kB / 470.4 MB, free: 6.844 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2794, allocations: 59.61 MB / 0.5175 GB, free: 10.14 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003045/0.2825, allocations: 1.962 MB / 0.5195 GB, free: 8.758 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0008197/0.2833, allocations: 318.3 kB / 0.5198 GB, free: 8.523 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.2836, allocations: 9.812 kB / 0.5198 GB, free: 8.52 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.2839, allocations: 60.58 kB / 0.5198 GB, free: 8.477 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.284, allocations: 35.72 kB / 0.5199 GB, free: 8.445 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.2844, allocations: 155.1 kB / 0.52 GB, free: 8.359 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003622/0.2848, allocations: 373.9 kB / 0.5204 GB, free: 8.176 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.2851, allocations: 223.2 kB / 0.5206 GB, free: 8.047 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2852, allocations: 140.8 kB / 0.5207 GB, free: 7.969 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2854, allocations: 167.1 kB / 0.5209 GB, free: 7.867 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.2854, allocations: 38.56 kB / 0.5209 GB, free: 7.867 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.2855, allocations: 38.28 kB / 0.5209 GB, free: 7.867 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.2855, allocations: 94.39 kB / 0.521 GB, free: 7.801 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2857, allocations: 193 kB / 0.5212 GB, free: 7.66 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.2861, allocations: 399 kB / 0.5216 GB, free: 7.457 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2861, allocations: 1.594 kB / 0.5216 GB, free: 7.457 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.2861, allocations: 3.938 kB / 0.5216 GB, free: 7.453 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 7.835e-06/0.2861, allocations: 4 kB / 0.5216 GB, free: 7.449 MB / 382.1 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.0008299/0.2869, allocations: 0.7092 MB / 0.5223 GB, free: 6.926 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2869, allocations: 13.09 kB / 0.5223 GB, free: 6.922 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.287, allocations: 53.91 kB / 0.5224 GB, free: 6.895 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.2873, allocations: 269.2 kB / 0.5226 GB, free: 6.68 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2873, allocations: 35.84 kB / 0.5227 GB, free: 6.664 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.2874, allocations: 47.48 kB / 0.5227 GB, free: 6.648 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.288, allocations: 438.8 kB / 0.5231 GB, free: 6.402 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.288, allocations: 1.531 kB / 0.5231 GB, free: 6.402 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.288, allocations: 28.73 kB / 0.5232 GB, free: 6.379 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.288, allocations: 12.25 kB / 0.5232 GB, free: 6.379 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.2884, allocations: 231 kB / 0.5234 GB, free: 6.301 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.2897, allocations: 1.6 MB / 0.5249 GB, free: 5.062 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.29, allocations: 171.2 kB / 0.5251 GB, free: 4.977 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.2902, allocations: 70.92 kB / 0.5252 GB, free: 4.945 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.2902, allocations: 3.516 kB / 0.5252 GB, free: 4.945 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.2903, allocations: 122.6 kB / 0.5253 GB, free: 4.863 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.2903, allocations: 0 / 0.5253 GB, free: 4.863 MB / 382.1 MB
Notification: Performance of matching and sorting (n=21): time 0.0003803/0.2907, allocations: 229.7 kB / 0.5255 GB, free: 4.754 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.2907, allocations: 58.58 kB / 0.5256 GB, free: 4.688 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.291, allocations: 258.2 kB / 0.5258 GB, free: 4.535 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.291, allocations: 30.95 kB / 0.5258 GB, free: 4.5 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.2911, allocations: 247.2 kB / 0.5261 GB, free: 4.301 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.2911, allocations: 75.27 kB / 0.5262 GB, free: 4.242 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.2912, allocations: 56.45 kB / 0.5262 GB, free: 4.199 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 5.42e-05/0.2912, allocations: 337.3 kB / 0.5265 GB, free: 3.875 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2913, allocations: 58.52 kB / 0.5266 GB, free: 3.855 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.2915, allocations: 141.5 kB / 0.5267 GB, free: 3.738 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.2917, allocations: 209.5 kB / 0.5269 GB, free: 3.586 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2917, allocations: 1.25 kB / 0.5269 GB, free: 3.586 MB / 382.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003244/0.292, allocations: 263.4 kB / 0.5272 GB, free: 3.453 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.292, allocations: 7.703 kB / 0.5272 GB, free: 3.453 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.292, allocations: 2.438 kB / 0.5272 GB, free: 3.453 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.292, allocations: 7.406 kB / 0.5272 GB, free: 3.449 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.2922, allocations: 50.56 kB / 0.5272 GB, free: 3.441 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.2922, allocations: 8.281 kB / 0.5272 GB, free: 3.438 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2923, allocations: 28.38 kB / 0.5273 GB, free: 3.418 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2924, allocations: 12.47 kB / 0.5273 GB, free: 3.414 MB / 382.1 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 ()
 * 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 0.0001074/0.2925, allocations: 154.8 kB / 0.5274 GB, free: 3.27 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.2925, allocations: 32.72 kB / 0.5275 GB, free: 3.25 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.2928, allocations: 200.4 kB / 0.5277 GB, free: 3.145 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2928, allocations: 2.312 kB / 0.5277 GB, free: 3.145 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2928, allocations: 0 / 0.5277 GB, free: 3.145 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2928, allocations: 2.094 kB / 0.5277 GB, free: 3.145 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.2934, allocations: 0.6076 MB / 0.5283 GB, free: 2.73 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2934, allocations: 4.688 kB / 0.5283 GB, free: 2.727 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.2936, allocations: 32.84 kB / 0.5283 GB, free: 2.723 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2936, allocations: 1.5 kB / 0.5283 GB, free: 2.723 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2936, allocations: 7.234 kB / 0.5283 GB, free: 2.719 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2936, allocations: 0 / 0.5283 GB, free: 2.719 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2936, allocations: 1.5 kB / 0.5283 GB, free: 2.719 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.294, allocations: 359.2 kB / 0.5286 GB, free: 2.488 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.294, allocations: 29.39 kB / 0.5287 GB, free: 2.469 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.294, allocations: 9.406 kB / 0.5287 GB, free: 2.461 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2941, allocations: 10.5 kB / 0.5287 GB, free: 2.453 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.2942, allocations: 14.64 kB / 0.5287 GB, free: 2.449 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2942, allocations: 5.922 kB / 0.5287 GB, free: 2.449 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0001393/0.2943, allocations: 178.4 kB / 0.5289 GB, free: 2.344 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.2943, allocations: 0 / 0.5289 GB, free: 2.344 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0002929/0.2946, allocations: 73.3 kB / 0.5289 GB, free: 2.316 MB / 382.1 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.618e-05/0.2947, allocations: 105 kB / 0.529 GB, free: 2.219 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002894/0.295, allocations: 162.7 kB / 0.5292 GB, free: 2.164 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.295, allocations: 0 / 0.5292 GB, free: 2.164 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.2951, allocations: 76.81 kB / 0.5293 GB, free: 2.137 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2954, allocations: 41.3 kB / 0.5293 GB, free: 2.117 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.2963, allocations: 0.6214 MB / 0.5299 GB, free: 1.723 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2965, allocations: 0.8026 MB / 0.5307 GB, free: 1.02 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 7.776e-05/0.2966, allocations: 22.3 kB / 0.5307 GB, free: 1.02 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.2967, allocations: 23.75 kB / 0.5308 GB, free: 1.008 MB / 382.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.2967, allocations: 1.156 kB / 0.5308 GB, free: 1.008 MB / 382.1 MB
Notification: Performance of Templates: time 0.005329/0.302, allocations: 2.025 MB / 0.5327 GB, free: 0.793 MB / 382.1 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.275036179460585]
Failed to read output from testmodel.py, exit status != 0:
0.30973063968122005 0.32301930799999995 0.034083164
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ffbf2a557b0>