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.000908/0.000908, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009513/0.0009513, allocations: 169 kB / 23.02 MB, free: 1.551 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.9231/0.9231, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.1292/0.1292, allocations: 21.8 MB / 281.7 MB, free: 7.18 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.353e-06/1.353e-06, allocations: 0 / 358.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.457e-05, allocations: 2.312 kB / 358.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.002053/0.002067, allocations: 1.771 MB / 360.5 MB, free: 3.211 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005103/0.002578, allocations: 302.8 kB / 360.8 MB, free: 2.914 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.002715, allocations: 11.94 kB / 360.8 MB, free: 2.902 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.002865, allocations: 59.31 kB / 360.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.002939, allocations: 31.56 kB / 360.9 MB, free: 2.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.003217, allocations: 167.7 kB / 361.1 MB, free: 2.648 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.003507, allocations: 364.2 kB / 361.4 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.003756, allocations: 201.2 kB / 361.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.003895, allocations: 211.5 kB / 361.8 MB, free: 1.883 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.004009, allocations: 107.6 kB / 361.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.00405, allocations: 40 kB / 362 MB, free: 1.738 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.053e-05/0.004081, allocations: 36 kB / 362 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.004137, allocations: 95.59 kB / 362.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.004211, allocations: 111.7 kB / 362.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.00445, allocations: 274.7 kB / 362.5 MB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004451, allocations: 0 / 362.5 MB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004452, allocations: 0 / 362.5 MB, free: 1.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.004456, allocations: 4 kB / 362.5 MB, free: 1.227 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.0006992/0.005155, allocations: 0.7957 MB / 363.3 MB, free: 392 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005191, allocations: 16.02 kB / 363.3 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.005274, allocations: 84.61 kB / 363.4 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.00556, allocations: 279.6 kB / 363.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.005585, allocations: 33.38 kB / 363.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.005637, allocations: 48.38 kB / 363.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.006011, allocations: 394.1 kB / 364.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.006024, allocations: 192 / 364.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.006049, allocations: 20.38 kB / 364.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.006062, allocations: 12.38 kB / 364.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.006252, allocations: 153.7 kB / 364.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.007441, allocations: 1.889 MB / 366.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.00766, allocations: 138.9 kB / 366.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.007723, allocations: 51.67 kB / 366.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.007746, allocations: 4 kB / 366.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.007872, allocations: 97.02 kB / 366.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.007874, allocations: 0 / 366.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002686/0.008142, allocations: 188.7 kB / 366.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.00817, allocations: 55.41 kB / 366.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.008327, allocations: 276.2 kB / 367 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.008342, allocations: 29.7 kB / 367 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.008457, allocations: 295 kB / 367.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.008496, allocations: 79.34 kB / 367.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.008554, allocations: 59.64 kB / 367.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.008665, allocations: 0.5001 MB / 367.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.008718, allocations: 36.53 kB / 368 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.008809, allocations: 134.8 kB / 368.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.008966, allocations: 191.4 kB / 368.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008968, allocations: 0 / 368.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002118/0.009179, allocations: 217.4 kB / 368.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.009191, allocations: 10.81 kB / 368.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.009199, allocations: 7.938 kB / 368.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.009213, allocations: 4 kB / 368.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.009319, allocations: 43.92 kB / 368.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.009327, allocations: 7.938 kB / 368.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.009379, allocations: 19.89 kB / 368.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.009391, allocations: 12 kB / 368.6 MB, free: 10.73 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 8.817e-05/0.009479, allocations: 176.4 kB / 368.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.009501, allocations: 31.86 kB / 368.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.009678, allocations: 151.9 kB / 369 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.009681, allocations: 7.938 kB / 369 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.009686, allocations: 3.984 kB / 369 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009689, allocations: 0 / 369 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.01005, allocations: 0.5237 MB / 369.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01005, allocations: 0 / 369.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.01015, allocations: 35.92 kB / 369.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01015, allocations: 0 / 369.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01017, allocations: 11.94 kB / 369.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.01017, allocations: 0 / 369.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01017, allocations: 0 / 369.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.01043, allocations: 343.6 kB / 369.9 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.01045, allocations: 27.78 kB / 369.9 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.01047, allocations: 7.984 kB / 369.9 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.01052, allocations: 7.984 kB / 369.9 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.01055, allocations: 15.97 kB / 369.9 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01056, allocations: 11.94 kB / 370 MB, free: 9.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.613e-05/0.01065, allocations: 185.1 kB / 370.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01065, allocations: 0 / 370.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.01084, allocations: 75.62 kB / 370.2 MB, free: 9.059 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 6.718e-05/0.01091, allocations: 111.2 kB / 370.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.01108, allocations: 124 kB / 370.4 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01108, allocations: 0 / 370.4 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.399e-05/0.01114, allocations: 74.53 kB / 370.5 MB, free: 8.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.01137, allocations: 31.41 kB / 370.5 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.01197, allocations: 0.5955 MB / 371.1 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.265e-05/0.01203, allocations: 104.3 kB / 371.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.934e-05/0.01208, allocations: 18.52 kB / 371.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.01212, allocations: 20.5 kB / 371.3 MB, free: 7.926 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01212, allocations: 0 / 371.3 MB, free: 7.926 MB / 346.7 MB Notification: Performance of Templates: time 0.003313/0.01543, allocations: 1.589 MB / 372.9 MB, free: 6.359 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.031066494062543]