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.001349/0.001349, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001541/0.001541, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.73 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 / 341.7 MB, free: 5.547 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.002163/0.002163, allocations: 71.89 kB / 478.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3341, allocations: 60.79 MB / 0.5269 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.002969/0.3371, allocations: 1.686 MB / 0.5286 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000611/0.3377, allocations: 310.2 kB / 0.5289 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3378, allocations: 9.656 kB / 0.5289 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.338, allocations: 68.48 kB / 0.529 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.3381, allocations: 31.03 kB / 0.529 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.3385, allocations: 155.1 kB / 0.5291 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.3388, allocations: 358.7 kB / 0.5295 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.3391, allocations: 204.5 kB / 0.5297 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3392, allocations: 140.1 kB / 0.5298 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.3394, allocations: 141.5 kB / 0.5299 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.3394, allocations: 41.22 kB / 0.53 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.3395, allocations: 41.06 kB / 0.53 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.3396, allocations: 99.31 kB / 0.5301 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3397, allocations: 148.4 kB / 0.5303 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.34, allocations: 399.1 kB / 0.5306 GB, free: 5.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.34, allocations: 1.312 kB / 0.5306 GB, free: 5.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.34, allocations: 3.938 kB / 0.5306 GB, free: 5.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3401, allocations: 0 / 0.5306 GB, free: 5.766 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.0009253/0.341, allocations: 0.7023 MB / 0.5313 GB, free: 5.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.341, allocations: 12.25 kB / 0.5313 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.3411, allocations: 54.11 kB / 0.5314 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.3415, allocations: 264.3 kB / 0.5316 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3415, allocations: 32.62 kB / 0.5317 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.3416, allocations: 51.97 kB / 0.5317 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.3422, allocations: 444.3 kB / 0.5322 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3422, allocations: 1.562 kB / 0.5322 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.3422, allocations: 20.31 kB / 0.5322 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.3423, allocations: 12.95 kB / 0.5322 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.3426, allocations: 237.2 kB / 0.5324 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.3443, allocations: 1.452 MB / 0.5338 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.3447, allocations: 163.1 kB / 0.534 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3448, allocations: 78.05 kB / 0.5341 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.3448, allocations: 7.406 kB / 0.5341 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.3451, allocations: 118.9 kB / 0.5342 GB, free: 3.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.3451, allocations: 0 / 0.5342 GB, free: 3.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004814/0.3456, allocations: 227.6 kB / 0.5344 GB, free: 3.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.3456, allocations: 53.59 kB / 0.5344 GB, free: 3.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.3459, allocations: 233.1 kB / 0.5347 GB, free: 2.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3459, allocations: 31.81 kB / 0.5347 GB, free: 2.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.346, allocations: 251.7 kB / 0.5349 GB, free: 2.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.3461, allocations: 74.88 kB / 0.535 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.3462, allocations: 54.17 kB / 0.5351 GB, free: 2.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.3462, allocations: 339.5 kB / 0.5354 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3463, allocations: 58.03 kB / 0.5354 GB, free: 2.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3465, allocations: 134.5 kB / 0.5356 GB, free: 2.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3467, allocations: 211.9 kB / 0.5358 GB, free: 1.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3467, allocations: 0.9688 kB / 0.5358 GB, free: 1.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003545/0.3471, allocations: 263 kB / 0.536 GB, free: 1.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3471, allocations: 5.688 kB / 0.536 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3471, allocations: 2.344 kB / 0.536 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3471, allocations: 3.5 kB / 0.536 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3473, allocations: 51.3 kB / 0.5361 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3473, allocations: 8.344 kB / 0.5361 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3474, allocations: 23.45 kB / 0.5361 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3474, allocations: 8.281 kB / 0.5361 GB, free: 1.828 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.0001312/0.3476, allocations: 156.1 kB / 0.5363 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.3476, allocations: 26.88 kB / 0.5363 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.3479, allocations: 199.5 kB / 0.5365 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3479, allocations: 1.562 kB / 0.5365 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3479, allocations: 5.5 kB / 0.5365 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3479, allocations: 1.359 kB / 0.5365 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.3485, allocations: 0.5138 MB / 0.537 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3485, allocations: 7.938 kB / 0.537 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3486, allocations: 34.25 kB / 0.537 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3486, allocations: 1.375 kB / 0.537 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3487, allocations: 6.078 kB / 0.537 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3487, allocations: 1.375 kB / 0.537 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3487, allocations: 0 / 0.537 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.349, allocations: 365 kB / 0.5374 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.349, allocations: 19.58 kB / 0.5374 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.3491, allocations: 5.984 kB / 0.5374 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3492, allocations: 10.22 kB / 0.5374 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.3492, allocations: 16.44 kB / 0.5374 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3492, allocations: 8.781 kB / 0.5375 GB, free: 0.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3493, allocations: 155.1 kB / 0.5376 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3493, allocations: 0 / 0.5376 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.3497, allocations: 79.62 kB / 0.5377 GB, free: 0.7852 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.051e-05/0.3497, allocations: 104.7 kB / 0.5378 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.35, allocations: 155.9 kB / 0.5379 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.35, allocations: 1.938 kB / 0.5379 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3501, allocations: 80.19 kB / 0.538 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3505, allocations: 41.3 kB / 0.538 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008528/0.3513, allocations: 0.6102 MB / 0.5386 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.3515, allocations: 196.2 kB / 0.5388 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.213e-05/0.3516, allocations: 16.7 kB / 0.5388 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.3516, allocations: 22.53 kB / 0.5389 GB, free: 32 kB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3516, allocations: 0 / 0.5389 GB, free: 32 kB / 382.1 MB Notification: Performance of Templates: time 0.005413/0.357, allocations: 1.841 MB / 0.5407 GB, free: 15.08 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: 4.7044117115437984] Failed to read output from testmodel.py, exit status != 0: 0.36560723185539246 0.37989325399999996 0.036851891000000005 Calling exit ...