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.0007979/0.0007979, allocations: 92.7 kB / 20.21 MB, free: 4.223 MB / 18.57 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.0008399/0.0008399, allocations: 161.3 kB / 23.52 MB, free: 0.9141 MB / 18.57 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 0.8701/0.8701, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.1122/0.1122, allocations: 21.78 MB / 282.1 MB, free: 7.219 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 358.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.648e-05, allocations: 13.77 kB / 358.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.001835/0.001851, allocations: 1.708 MB / 360.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004661/0.002317, allocations: 318.7 kB / 360.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.002448, allocations: 7.938 kB / 360.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.002592, allocations: 63.31 kB / 360.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.002658, allocations: 35.56 kB / 360.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.002912, allocations: 159.8 kB / 361.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.003177, allocations: 360.2 kB / 361.4 MB, free: 2.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.003408, allocations: 205.1 kB / 361.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.003535, allocations: 203.5 kB / 361.8 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.003652, allocations: 115.5 kB / 361.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.003688, allocations: 36 kB / 362 MB, free: 2.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.003715, allocations: 44 kB / 362 MB, free: 2.227 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.003771, allocations: 91.59 kB / 362.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.003842, allocations: 115.7 kB / 362.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.004122, allocations: 402.4 kB / 362.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004124, allocations: 4 kB / 362.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004124, allocations: 0 / 362.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.004129, allocations: 0 / 362.6 MB, free: 1.625 MB / 330.7 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.0007079/0.004837, allocations: 0.6903 MB / 363.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.004881, allocations: 8.031 kB / 363.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.004979, allocations: 92.61 kB / 363.4 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.005296, allocations: 268.8 kB / 363.7 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.005319, allocations: 33.38 kB / 363.7 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.005368, allocations: 48.38 kB / 363.8 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.005824, allocations: 444.7 kB / 364.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.005836, allocations: 4.125 kB / 364.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.005857, allocations: 16.38 kB / 364.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.005867, allocations: 12.38 kB / 364.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.006117, allocations: 235.7 kB / 364.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.007166, allocations: 1.459 MB / 365.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.007426, allocations: 166.5 kB / 366.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.00751, allocations: 80.77 kB / 366.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.007531, allocations: 4 kB / 366.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.007681, allocations: 115.4 kB / 366.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.007682, allocations: 0 / 366.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003384/0.00802, allocations: 244.7 kB / 366.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.008053, allocations: 55.41 kB / 366.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.008212, allocations: 225.7 kB / 366.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.008229, allocations: 29.7 kB / 366.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.008354, allocations: 252.3 kB / 367.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.008393, allocations: 71.34 kB / 367.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.008451, allocations: 53.98 kB / 367.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.00855, allocations: 334.8 kB / 367.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.008625, allocations: 64.53 kB / 367.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.008739, allocations: 134.5 kB / 367.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.008941, allocations: 208.3 kB / 367.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.008944, allocations: 4 kB / 367.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000268/0.009212, allocations: 273.9 kB / 368.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.009224, allocations: 4 kB / 368.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.00923, allocations: 7.938 kB / 368.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.009243, allocations: 4 kB / 368.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.009345, allocations: 43.92 kB / 368.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.009351, allocations: 4.281 kB / 368.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.009411, allocations: 31.83 kB / 368.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.009423, allocations: 11.98 kB / 368.3 MB, free: 11.66 MB / 346.7 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 9.534e-05/0.009518, allocations: 153.7 kB / 368.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.009544, allocations: 31.86 kB / 368.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.00975, allocations: 191.9 kB / 368.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.009754, allocations: 7.938 kB / 368.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.009757, allocations: 0 / 368.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.009762, allocations: 3.984 kB / 368.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.01013, allocations: 0.5166 MB / 369.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.01013, allocations: 0 / 369.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.01022, allocations: 35.98 kB / 369.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.01022, allocations: 0 / 369.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01023, allocations: 11.94 kB / 369.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01023, allocations: 11.88 kB / 369.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01023, allocations: 0 / 369.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.01052, allocations: 359.2 kB / 369.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.01053, allocations: 19.84 kB / 369.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.01055, allocations: 15.92 kB / 369.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.0106, allocations: 4 kB / 369.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.01065, allocations: 11.97 kB / 369.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01066, allocations: 16 kB / 369.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.51e-05/0.01074, allocations: 153.2 kB / 369.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01074, allocations: 0 / 369.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.01094, allocations: 79.62 kB / 369.9 MB, free: 10 MB / 346.7 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.26e-05/0.01103, allocations: 103.2 kB / 370 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.01124, allocations: 153 kB / 370.1 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01124, allocations: 4 kB / 370.1 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.01132, allocations: 68.48 kB / 370.2 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01156, allocations: 50.58 kB / 370.3 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.01221, allocations: 0.6096 MB / 370.9 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.01232, allocations: 194.8 kB / 371.1 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.01238, allocations: 17.95 kB / 371.1 MB, free: 8.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.01241, allocations: 24.44 kB / 371.1 MB, free: 8.73 MB / 346.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01241, allocations: 4 kB / 371.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of Templates: time 0.003197/0.01561, allocations: 1.573 MB / 372.7 MB, free: 7.18 MB / 346.7 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 gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.557379262521863]