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.0014/0.0014, allocations: 93.06 kB / 19.65 MB, free: 280 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.00134/0.00134, allocations: 173.3 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.9484/0.9484, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.1138/0.1138, allocations: 21.79 MB / 281.7 MB, free: 7.199 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.343e-06/1.343e-06, allocations: 0 / 358.8 MB, free: 4.957 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.67e-05, allocations: 2.312 kB / 358.8 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.001978/0.001994, allocations: 1.767 MB / 360.5 MB, free: 3.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005361/0.00253, allocations: 306.8 kB / 360.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.00267, allocations: 11.94 kB / 360.8 MB, free: 2.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.002822, allocations: 55.33 kB / 360.9 MB, free: 2.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.002895, allocations: 35.55 kB / 360.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.00315, allocations: 159.7 kB / 361.1 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.003436, allocations: 372.2 kB / 361.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.003675, allocations: 197.2 kB / 361.6 MB, free: 2.059 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.003819, allocations: 211.5 kB / 361.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.003934, allocations: 107.6 kB / 362 MB, free: 1.746 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.003981, allocations: 40 kB / 362 MB, free: 1.707 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.968e-05/0.004011, allocations: 36 kB / 362 MB, free: 1.672 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.004062, allocations: 87.61 kB / 362.1 MB, free: 1.586 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.004135, allocations: 119.6 kB / 362.2 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.004374, allocations: 270.7 kB / 362.5 MB, free: 1.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004376, allocations: 0 / 362.5 MB, free: 1.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004377, allocations: 4 kB / 362.5 MB, free: 1.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004381, allocations: 0 / 362.5 MB, free: 1.199 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.0006716/0.005053, allocations: 0.8035 MB / 363.3 MB, free: 356 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.005083, allocations: 8.031 kB / 363.3 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.005166, allocations: 92.61 kB / 363.4 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.005435, allocations: 275.6 kB / 363.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.005458, allocations: 33.38 kB / 363.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.005499, allocations: 48.38 kB / 363.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.00585, allocations: 386.2 kB / 364.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.005863, allocations: 8.125 kB / 364.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.005887, allocations: 20.38 kB / 364.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.0059, allocations: 12.38 kB / 364.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.006082, allocations: 161.6 kB / 364.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.007282, allocations: 1.878 MB / 366.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.007513, allocations: 142.9 kB / 366.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.007575, allocations: 47.67 kB / 366.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.007595, allocations: 4 kB / 366.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.007727, allocations: 93.02 kB / 366.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.007729, allocations: 0 / 366.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.000269/0.007998, allocations: 188.8 kB / 366.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.008026, allocations: 51.41 kB / 366.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.008174, allocations: 280.2 kB / 367 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.008188, allocations: 29.7 kB / 367 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.008306, allocations: 303 kB / 367.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.008343, allocations: 75.34 kB / 367.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.008398, allocations: 55.64 kB / 367.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.008506, allocations: 0.504 MB / 367.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.114e-05/0.008557, allocations: 32.53 kB / 368 MB, free: 11.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.008647, allocations: 138.8 kB / 368.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.008803, allocations: 191.4 kB / 368.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.008806, allocations: 4 kB / 368.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002089/0.009015, allocations: 218.5 kB / 368.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.009027, allocations: 8 kB / 368.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.009033, allocations: 7.938 kB / 368.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.009047, allocations: 4 kB / 368.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.009151, allocations: 43.92 kB / 368.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.009158, allocations: 7.938 kB / 368.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.009214, allocations: 15.89 kB / 368.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.00923, allocations: 19.98 kB / 368.6 MB, free: 10.69 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.244e-05/0.009322, allocations: 172.5 kB / 368.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.009345, allocations: 35.98 kB / 368.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.009525, allocations: 151.9 kB / 369 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.009529, allocations: 7.922 kB / 369 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.009532, allocations: 7.938 kB / 369 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.009536, allocations: 0 / 369 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.009903, allocations: 0.5158 MB / 369.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009904, allocations: 0 / 369.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/0.01, allocations: 39.92 kB / 369.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.01001, allocations: 0 / 369.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.01002, allocations: 3.938 kB / 369.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.01003, allocations: 4 kB / 369.6 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01003, allocations: 4 kB / 369.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.01029, allocations: 339.6 kB / 369.9 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.0103, allocations: 23.78 kB / 369.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01032, allocations: 11.94 kB / 369.9 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.01037, allocations: 4 kB / 369.9 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.0104, allocations: 11.97 kB / 369.9 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01041, allocations: 12 kB / 370 MB, free: 9.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.371e-05/0.0105, allocations: 181.1 kB / 370.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0105, allocations: 0 / 370.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.01076, allocations: 87.55 kB / 370.2 MB, free: 9.027 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.969e-05/0.01083, allocations: 103.3 kB / 370.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.01101, allocations: 131.4 kB / 370.4 MB, free: 8.781 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01101, allocations: 0 / 370.4 MB, free: 8.781 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.01107, allocations: 62.78 kB / 370.5 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01129, allocations: 46.36 kB / 370.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.01187, allocations: 0.5955 MB / 371.1 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.361e-05/0.01192, allocations: 100.8 kB / 371.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.01197, allocations: 21.95 kB / 371.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.01201, allocations: 20.5 kB / 371.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01202, allocations: 0 / 371.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of Templates: time 0.003502/0.01552, allocations: 1.639 MB / 372.9 MB, free: 6.273 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: 2.8433312182314694]