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.001361/0.001361, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001588/0.001588, allocations: 220.8 kB / 23 MB, free: 4.914 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.2027/0.2027, allocations: 29.23 MB / 342.4 MB, free: 5.602 MB / 270.1 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: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.03 kB / 479.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3834, allocations: 60.8 MB / 0.5277 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.00336/0.3868, allocations: 1.694 MB / 0.5293 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.3875, allocations: 311.4 kB / 0.5296 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.3877, allocations: 9.281 kB / 0.5296 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.3879, allocations: 59.97 kB / 0.5297 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.993e-05/0.388, allocations: 38 kB / 0.5297 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.3884, allocations: 159.7 kB / 0.5299 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.3888, allocations: 360.2 kB / 0.5302 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.3891, allocations: 197.5 kB / 0.5304 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3893, allocations: 145.6 kB / 0.5306 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.3894, allocations: 140 kB / 0.5307 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.3895, allocations: 37.88 kB / 0.5307 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.372e-05/0.3896, allocations: 37.84 kB / 0.5308 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.3896, allocations: 94.84 kB / 0.5309 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3898, allocations: 152.4 kB / 0.531 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.3902, allocations: 407.7 kB / 0.5314 GB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3902, allocations: 0 / 0.5314 GB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3903, allocations: 1 kB / 0.5314 GB, free: 5.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3903, allocations: 0 / 0.5314 GB, free: 5.797 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.001042/0.3913, allocations: 0.6983 MB / 0.5321 GB, free: 5.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3913, allocations: 13.38 kB / 0.5321 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.3914, allocations: 52.75 kB / 0.5321 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.3919, allocations: 265.8 kB / 0.5324 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.392, allocations: 35.09 kB / 0.5324 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.392, allocations: 51.3 kB / 0.5325 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.3927, allocations: 441.8 kB / 0.5329 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3927, allocations: 1.312 kB / 0.5329 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.3927, allocations: 28.22 kB / 0.5329 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3927, allocations: 11.97 kB / 0.5329 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.3931, allocations: 229.6 kB / 0.5332 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.3946, allocations: 1.452 MB / 0.5346 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.395, allocations: 165.8 kB / 0.5347 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3951, allocations: 69.23 kB / 0.5348 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.3951, allocations: 1.844 kB / 0.5348 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.3953, allocations: 123.9 kB / 0.5349 GB, free: 3.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.3953, allocations: 4 kB / 0.5349 GB, free: 3.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004508/0.3958, allocations: 230.5 kB / 0.5351 GB, free: 3.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3958, allocations: 53.69 kB / 0.5352 GB, free: 3.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.396, allocations: 226 kB / 0.5354 GB, free: 2.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3961, allocations: 30.59 kB / 0.5354 GB, free: 2.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3962, allocations: 251.1 kB / 0.5357 GB, free: 2.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.3962, allocations: 78.58 kB / 0.5357 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.3963, allocations: 54.97 kB / 0.5358 GB, free: 2.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.3964, allocations: 331.4 kB / 0.5361 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3965, allocations: 62.08 kB / 0.5362 GB, free: 2.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3966, allocations: 140 kB / 0.5363 GB, free: 2.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.3969, allocations: 216 kB / 0.5365 GB, free: 2.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3969, allocations: 1.281 kB / 0.5365 GB, free: 2.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003785/0.3973, allocations: 261.8 kB / 0.5368 GB, free: 1.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3973, allocations: 6.375 kB / 0.5368 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3973, allocations: 1.125 kB / 0.5368 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.3973, allocations: 5 kB / 0.5368 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.3975, allocations: 49.75 kB / 0.5368 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.3975, allocations: 8.391 kB / 0.5368 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3976, allocations: 24.19 kB / 0.5369 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.3977, allocations: 16.12 kB / 0.5369 GB, free: 1.855 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.0001394/0.3978, allocations: 151.9 kB / 0.537 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.3978, allocations: 27.47 kB / 0.537 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.3982, allocations: 194.5 kB / 0.5372 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3982, allocations: 6.297 kB / 0.5372 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3982, allocations: 0 / 0.5372 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3982, allocations: 2.609 kB / 0.5372 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.3988, allocations: 0.5173 MB / 0.5377 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3988, allocations: 5.312 kB / 0.5377 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3989, allocations: 32.3 kB / 0.5378 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.399, allocations: 5.375 kB / 0.5378 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.399, allocations: 5.984 kB / 0.5378 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.399, allocations: 1.375 kB / 0.5378 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.399, allocations: 0.6562 kB / 0.5378 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.3994, allocations: 361.8 kB / 0.5381 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.3994, allocations: 19.44 kB / 0.5382 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.3995, allocations: 5.375 kB / 0.5382 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3996, allocations: 6.344 kB / 0.5382 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.3996, allocations: 16.34 kB / 0.5382 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3996, allocations: 4.828 kB / 0.5382 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3998, allocations: 160 kB / 0.5383 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 4 kB / 0.5383 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000322/0.4001, allocations: 79.62 kB / 0.5384 GB, free: 0.8203 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 8.657e-05/0.4002, allocations: 93.08 kB / 0.5385 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.4005, allocations: 159.5 kB / 0.5387 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4005, allocations: 1.156 kB / 0.5387 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.4006, allocations: 75.83 kB / 0.5387 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.401, allocations: 46.78 kB / 0.5388 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.402, allocations: 0.6479 MB / 0.5394 GB, free: 204 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.4021, allocations: 194.4 kB / 0.5396 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.4022, allocations: 21.25 kB / 0.5396 GB, free: 64 kB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4022, allocations: 0 / 0.5396 GB, free: 64 kB / 382.1 MB Notification: Performance of Templates: time 0.006433/0.4086, allocations: 3.385 MB / 0.5429 GB, free: 14.26 MB / 398.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: 7.558420142158866] Failed to read output from testmodel.py, exit status != 0: 0.417386659886688 0.43258410900000005 0.039136340000000006 Calling exit ...