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.001532/0.001532, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001437/0.001437, allocations: 209.8 kB / 22.99 MB, free: 4.957 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.2014/0.2014, allocations: 29.23 MB / 342.4 MB, free: 5.582 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.002055/0.002055, allocations: 67.91 kB / 479.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3682, allocations: 60.79 MB / 0.5277 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.002922/0.3711, allocations: 1.702 MB / 0.5293 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3722, allocations: 310.8 kB / 0.5296 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.3724, allocations: 12.59 kB / 0.5296 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.3727, allocations: 61.09 kB / 0.5297 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.3728, allocations: 30.69 kB / 0.5297 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3731, allocations: 158.3 kB / 0.5299 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.3735, allocations: 359.8 kB / 0.5302 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.3739, allocations: 210.5 kB / 0.5304 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.374, allocations: 148.4 kB / 0.5306 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3742, allocations: 165.5 kB / 0.5307 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.3743, allocations: 37.09 kB / 0.5308 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.3743, allocations: 37.5 kB / 0.5308 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/0.3744, allocations: 87.66 kB / 0.5309 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.3746, allocations: 156.7 kB / 0.531 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.3751, allocations: 402.9 kB / 0.5314 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3751, allocations: 1.125 kB / 0.5314 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3751, allocations: 0 / 0.5314 GB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3751, allocations: 0 / 0.5314 GB, free: 5.75 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.0009536/0.376, allocations: 0.7021 MB / 0.5321 GB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3761, allocations: 9.531 kB / 0.5321 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.3762, allocations: 52.67 kB / 0.5322 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.3766, allocations: 269.9 kB / 0.5324 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.3766, allocations: 35.84 kB / 0.5325 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.3767, allocations: 46.91 kB / 0.5325 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.3773, allocations: 445.5 kB / 0.5329 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.3773, allocations: 5.344 kB / 0.5329 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.3774, allocations: 25.34 kB / 0.533 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3774, allocations: 10.91 kB / 0.533 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.3778, allocations: 234.8 kB / 0.5332 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.3792, allocations: 1.456 MB / 0.5346 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.3795, allocations: 162.4 kB / 0.5348 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3796, allocations: 74.45 kB / 0.5348 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3797, allocations: 2.984 kB / 0.5348 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.3798, allocations: 126.4 kB / 0.535 GB, free: 3.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.3798, allocations: 0 / 0.535 GB, free: 3.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003936/0.3802, allocations: 224 kB / 0.5352 GB, free: 3.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.3803, allocations: 58.05 kB / 0.5352 GB, free: 3.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3805, allocations: 224.8 kB / 0.5354 GB, free: 2.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3805, allocations: 31.61 kB / 0.5355 GB, free: 2.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3806, allocations: 247.1 kB / 0.5357 GB, free: 2.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.3807, allocations: 86.41 kB / 0.5358 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.3807, allocations: 53.86 kB / 0.5358 GB, free: 2.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.3808, allocations: 332.2 kB / 0.5362 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3809, allocations: 63.59 kB / 0.5362 GB, free: 2.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.381, allocations: 139.3 kB / 0.5364 GB, free: 2.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.3813, allocations: 210.9 kB / 0.5366 GB, free: 1.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3813, allocations: 0 / 0.5366 GB, free: 1.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003368/0.3816, allocations: 255.9 kB / 0.5368 GB, free: 1.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3816, allocations: 7.172 kB / 0.5368 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3816, allocations: 3.062 kB / 0.5368 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3817, allocations: 7.531 kB / 0.5368 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3818, allocations: 45.73 kB / 0.5369 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3818, allocations: 7.25 kB / 0.5369 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3819, allocations: 23.47 kB / 0.5369 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.382, allocations: 12.25 kB / 0.5369 GB, free: 1.812 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.0001141/0.3821, allocations: 152.3 kB / 0.537 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3821, allocations: 30.16 kB / 0.5371 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.3824, allocations: 196.8 kB / 0.5373 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3824, allocations: 2.75 kB / 0.5373 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3824, allocations: 0 / 0.5373 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3824, allocations: 7.062 kB / 0.5373 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.383, allocations: 0.5124 MB / 0.5378 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.383, allocations: 3.938 kB / 0.5378 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.3831, allocations: 33.7 kB / 0.5378 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3831, allocations: 4.812 kB / 0.5378 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3831, allocations: 5.844 kB / 0.5378 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3832, allocations: 1.688 kB / 0.5378 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3832, allocations: 0 / 0.5378 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.3836, allocations: 361.2 kB / 0.5382 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.3836, allocations: 19.45 kB / 0.5382 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.3836, allocations: 9.594 kB / 0.5382 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3837, allocations: 11.2 kB / 0.5382 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.3838, allocations: 15.05 kB / 0.5382 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3838, allocations: 5.438 kB / 0.5382 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3839, allocations: 159.4 kB / 0.5384 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3839, allocations: 0 / 0.5384 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.3842, allocations: 76.25 kB / 0.5384 GB, free: 0.7773 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 7.665e-05/0.3843, allocations: 96.95 kB / 0.5385 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.3846, allocations: 163.8 kB / 0.5387 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3846, allocations: 0 / 0.5387 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3847, allocations: 80.69 kB / 0.5388 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3851, allocations: 42.95 kB / 0.5388 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.386, allocations: 0.6131 MB / 0.5394 GB, free: 184 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.3862, allocations: 196.1 kB / 0.5396 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.3e-05/0.3862, allocations: 23.19 kB / 0.5396 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.3863, allocations: 19.59 kB / 0.5396 GB, free: 20 kB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3863, allocations: 0 / 0.5396 GB, free: 20 kB / 382.1 MB Notification: Performance of Templates: time 0.006414/0.3927, allocations: 1.9 MB / 0.5415 GB, free: 15.05 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 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.898839401022997] Failed to read output from testmodel.py, exit status != 0: 0.4011845759814605 0.415793703 0.037762674 Calling exit ...