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.001539/0.001539, allocations: 102.1 kB / 19.59 MB, free: 2.328 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.0019/0.0019, allocations: 216 kB / 22.88 MB, free: 5.621 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.594/1.594, allocations: 230.5 MB / 256.5 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] 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.2231/0.2231, allocations: 29.22 MB / 342.1 MB, free: 5.812 MB / 270.1 MB " [Timeout remaining time 179] 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.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.002204/0.002204, allocations: 75.89 kB / 479.2 MB, free: 176 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3513, allocations: 60.79 MB / 0.5274 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.002757/0.3541, allocations: 1.7 MB / 0.529 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006026/0.3547, allocations: 305.5 kB / 0.5293 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.3548, allocations: 9.469 kB / 0.5293 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.355, allocations: 60.17 kB / 0.5294 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.3551, allocations: 34.78 kB / 0.5294 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.3554, allocations: 159 kB / 0.5296 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.3559, allocations: 360.5 kB / 0.5299 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.3562, allocations: 217.9 kB / 0.5301 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.3563, allocations: 144.2 kB / 0.5303 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3564, allocations: 165.1 kB / 0.5304 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.3565, allocations: 37.22 kB / 0.5305 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.3565, allocations: 37.53 kB / 0.5305 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.636e-05/0.3566, allocations: 92.36 kB / 0.5306 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.3567, allocations: 151.6 kB / 0.5307 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.3571, allocations: 404.9 kB / 0.5311 GB, free: 5.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3571, allocations: 0.6562 kB / 0.5311 GB, free: 5.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3571, allocations: 0 / 0.5311 GB, free: 5.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3571, allocations: 0 / 0.5311 GB, free: 5.828 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.0009262/0.358, allocations: 0.7013 MB / 0.5318 GB, free: 5.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.358, allocations: 9.406 kB / 0.5318 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.3581, allocations: 53.08 kB / 0.5319 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.3585, allocations: 273.2 kB / 0.5321 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.3585, allocations: 32.56 kB / 0.5322 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.3586, allocations: 46.28 kB / 0.5322 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.3592, allocations: 445.3 kB / 0.5326 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3592, allocations: 5.781 kB / 0.5326 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.3593, allocations: 20.38 kB / 0.5326 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.3593, allocations: 12.53 kB / 0.5327 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.3597, allocations: 229.2 kB / 0.5329 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.3612, allocations: 1.53 MB / 0.5344 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.3616, allocations: 177 kB / 0.5345 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3617, allocations: 74.27 kB / 0.5346 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3617, allocations: 2.031 kB / 0.5346 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.3619, allocations: 118.1 kB / 0.5347 GB, free: 3.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.3619, allocations: 0 / 0.5347 GB, free: 3.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004287/0.3624, allocations: 235.5 kB / 0.5349 GB, free: 3.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.3624, allocations: 53.5 kB / 0.535 GB, free: 3.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.3626, allocations: 255.2 kB / 0.5352 GB, free: 2.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3626, allocations: 30.86 kB / 0.5353 GB, free: 2.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3627, allocations: 250.7 kB / 0.5355 GB, free: 2.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.3628, allocations: 75.06 kB / 0.5356 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.3628, allocations: 57.58 kB / 0.5356 GB, free: 2.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.3629, allocations: 337.4 kB / 0.536 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.363, allocations: 57.89 kB / 0.536 GB, free: 2.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3631, allocations: 135.8 kB / 0.5361 GB, free: 2.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.3634, allocations: 214.8 kB / 0.5364 GB, free: 1.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3634, allocations: 1.875 kB / 0.5364 GB, free: 1.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003406/0.3637, allocations: 263.1 kB / 0.5366 GB, free: 1.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3637, allocations: 6.188 kB / 0.5366 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3637, allocations: 6.312 kB / 0.5366 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3638, allocations: 5.547 kB / 0.5366 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3639, allocations: 48.86 kB / 0.5367 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3639, allocations: 6.125 kB / 0.5367 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.364, allocations: 29.2 kB / 0.5367 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3641, allocations: 7.312 kB / 0.5367 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.0001116/0.3642, allocations: 157.3 kB / 0.5369 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3642, allocations: 21.48 kB / 0.5369 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.3645, allocations: 203.6 kB / 0.5371 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3645, allocations: 3.359 kB / 0.5371 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3645, allocations: 5.375 kB / 0.5371 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3645, allocations: 5.156 kB / 0.5371 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.3651, allocations: 0.5765 MB / 0.5376 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3651, allocations: 0.5625 kB / 0.5376 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.3653, allocations: 28.36 kB / 0.5377 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3653, allocations: 2.016 kB / 0.5377 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3653, allocations: 6.344 kB / 0.5377 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3653, allocations: 1.625 kB / 0.5377 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3653, allocations: 0.7969 kB / 0.5377 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.3657, allocations: 366.4 kB / 0.538 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.3658, allocations: 32.23 kB / 0.5381 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.3658, allocations: 5.406 kB / 0.5381 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3659, allocations: 3.906 kB / 0.5381 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.3659, allocations: 14.77 kB / 0.5381 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.366, allocations: 4.484 kB / 0.5381 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3661, allocations: 178.7 kB / 0.5383 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3661, allocations: 0 / 0.5383 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.3664, allocations: 75.91 kB / 0.5383 GB, free: 0.7422 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.794e-05/0.3665, allocations: 106.2 kB / 0.5384 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.3668, allocations: 155.3 kB / 0.5386 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3668, allocations: 5.344 kB / 0.5386 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3669, allocations: 71.08 kB / 0.5387 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3673, allocations: 54.5 kB / 0.5387 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.3681, allocations: 0.6038 MB / 0.5393 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.3683, allocations: 197.1 kB / 0.5395 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.477e-05/0.3684, allocations: 22.55 kB / 0.5395 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.3685, allocations: 20.25 kB / 0.5395 GB, free: 16 kB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3685, allocations: 0 / 0.5395 GB, free: 16 kB / 382.1 MB Notification: Performance of Templates: time 0.00594/0.3744, allocations: 1.858 MB / 0.5413 GB, free: 15.09 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: 5.27242049202323] Failed to read output from testmodel.py, exit status != 0: 0.3837529569864273 0.40022243300000004 0.039992115 Calling exit ...