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.001296/0.001296, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.002076/0.002076, allocations: 159.5 kB / 23.01 MB, free: 4.961 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.407/1.407, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.1812/0.1812, allocations: 21.81 MB / 281.6 MB, free: 10.79 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.002061/0.002061, allocations: 63.91 kB / 418.7 MB, free: 14.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1158, allocations: 60.74 MB / 479.5 MB, free: 1.871 MB / 446.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003154/0.119, allocations: 1.704 MB / 481.2 MB, free: 164 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2374/0.3564, allocations: 318.6 kB / 481.5 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.3568, allocations: 6.625 kB / 481.5 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.357, allocations: 64.42 kB / 481.5 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.3571, allocations: 28.19 kB / 481.6 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3574, allocations: 154.4 kB / 481.7 MB, free: 42.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.3578, allocations: 361.6 kB / 482.1 MB, free: 42.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.358, allocations: 199.3 kB / 482.3 MB, free: 42.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.3581, allocations: 144.4 kB / 482.4 MB, free: 42.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.3583, allocations: 150.5 kB / 482.6 MB, free: 42.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.3583, allocations: 38.19 kB / 482.6 MB, free: 42.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.3584, allocations: 40.38 kB / 482.6 MB, free: 42.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.3584, allocations: 92.58 kB / 482.7 MB, free: 42.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.3585, allocations: 144.5 kB / 482.9 MB, free: 42.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.3588, allocations: 402.4 kB / 483.3 MB, free: 42.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3588, allocations: 0 / 483.3 MB, free: 42.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3588, allocations: 0 / 483.3 MB, free: 42.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3588, allocations: 0 / 483.3 MB, free: 42.67 MB / 446.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.0008314/0.3597, allocations: 0.7018 MB / 484 MB, free: 42.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3597, allocations: 12.38 kB / 484 MB, free: 42.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.3598, allocations: 53.11 kB / 484 MB, free: 42.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.3602, allocations: 268.1 kB / 484.3 MB, free: 42.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3602, allocations: 32.38 kB / 484.3 MB, free: 42.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.3603, allocations: 46.84 kB / 484.4 MB, free: 42.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.3608, allocations: 439.3 kB / 484.8 MB, free: 41.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.3608, allocations: 192 / 484.8 MB, free: 41.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3608, allocations: 26.5 kB / 484.8 MB, free: 41.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3608, allocations: 15.62 kB / 484.8 MB, free: 41.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3611, allocations: 227.5 kB / 485.1 MB, free: 41.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3623, allocations: 1.455 MB / 486.5 MB, free: 40.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.3626, allocations: 164.2 kB / 486.7 MB, free: 40.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/0.3627, allocations: 71.45 kB / 486.7 MB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3627, allocations: 0 / 486.7 MB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.3629, allocations: 126.3 kB / 486.9 MB, free: 40.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.3629, allocations: 2.188 kB / 486.9 MB, free: 40.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003392/0.3633, allocations: 227.8 kB / 487.1 MB, free: 40.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.3633, allocations: 58.53 kB / 487.2 MB, free: 40.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3634, allocations: 226.7 kB / 487.4 MB, free: 40.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3635, allocations: 34.2 kB / 487.4 MB, free: 40.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.3635, allocations: 246.3 kB / 487.6 MB, free: 39.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.3636, allocations: 86.41 kB / 487.7 MB, free: 39.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.3636, allocations: 53.05 kB / 487.8 MB, free: 39.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.3637, allocations: 332.7 kB / 488.1 MB, free: 39.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.3638, allocations: 61.41 kB / 488.2 MB, free: 39.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3639, allocations: 138.6 kB / 488.3 MB, free: 39.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3641, allocations: 213 kB / 488.5 MB, free: 39.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3641, allocations: 0 / 488.5 MB, free: 39.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002718/0.3644, allocations: 257.5 kB / 488.8 MB, free: 39.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3644, allocations: 3.406 kB / 488.8 MB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3644, allocations: 4.875 kB / 488.8 MB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3644, allocations: 3.219 kB / 488.8 MB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3646, allocations: 54.17 kB / 488.8 MB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3646, allocations: 7.188 kB / 488.8 MB, free: 39.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.3647, allocations: 22.53 kB / 488.9 MB, free: 39.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3647, allocations: 13.84 kB / 488.9 MB, free: 39.04 MB / 446.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.0001032/0.3648, allocations: 153.1 kB / 489 MB, free: 38.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.3648, allocations: 25.39 kB / 489 MB, free: 38.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.3651, allocations: 198 kB / 489.2 MB, free: 38.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3651, allocations: 0 / 489.2 MB, free: 38.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3651, allocations: 5.875 kB / 489.2 MB, free: 38.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3651, allocations: 3.469 kB / 489.2 MB, free: 38.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.3655, allocations: 0.5097 MB / 489.8 MB, free: 38.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3655, allocations: 3.938 kB / 489.8 MB, free: 38.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3656, allocations: 35.61 kB / 489.8 MB, free: 38.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3657, allocations: 0 / 489.8 MB, free: 38.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3657, allocations: 7.312 kB / 489.8 MB, free: 38.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3657, allocations: 1.219 kB / 489.8 MB, free: 38.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3657, allocations: 3.281 kB / 489.8 MB, free: 38.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.366, allocations: 358 kB / 490.2 MB, free: 38.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.3661, allocations: 25.52 kB / 490.2 MB, free: 38.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3661, allocations: 4 kB / 490.2 MB, free: 38.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3662, allocations: 3.156 kB / 490.2 MB, free: 38.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3662, allocations: 25.12 kB / 490.2 MB, free: 38.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3662, allocations: 3.125 kB / 490.2 MB, free: 38.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3663, allocations: 163.7 kB / 490.4 MB, free: 38.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3663, allocations: 0 / 490.4 MB, free: 38.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3666, allocations: 77.66 kB / 490.4 MB, free: 38.02 MB / 446.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.705e-05/0.3667, allocations: 96 kB / 490.5 MB, free: 37.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.367, allocations: 168.7 kB / 490.7 MB, free: 37.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.367, allocations: 128 / 490.7 MB, free: 37.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.3671, allocations: 76.17 kB / 490.8 MB, free: 37.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3674, allocations: 38.22 kB / 490.8 MB, free: 37.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.3682, allocations: 0.6279 MB / 491.4 MB, free: 37.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.3684, allocations: 197.2 kB / 491.6 MB, free: 37.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.275e-05/0.3684, allocations: 22.33 kB / 491.7 MB, free: 37.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.3685, allocations: 21.59 kB / 491.7 MB, free: 37.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3685, allocations: 0 / 491.7 MB, free: 37.34 MB / 446.1 MB Notification: Performance of Templates: time 0.004695/0.3732, allocations: 1.544 MB / 493.2 MB, free: 37.13 MB / 446.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 ida -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.623372392030433] Failed to read output from testmodel.py, exit status != 0: 0.3808155310107395 0.39024601499999995 0.02907908 Calling exit ...