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.001803/0.001803, allocations: 85.48 kB / 19.44 MB, free: 336 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.001978/0.001978, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.1957/0.1957, allocations: 21.79 MB / 281.4 MB, free: 7.207 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.643e-06/1.643e-06, allocations: 3.938 kB / 358 MB, free: 4.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.608e-05, allocations: 5.406 kB / 358 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.00335/0.003376, allocations: 1.728 MB / 359.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007165/0.004093, allocations: 322.7 kB / 360.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.00427, allocations: 7.938 kB / 360.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.004471, allocations: 59.31 kB / 360.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.004591, allocations: 35.56 kB / 360.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.004943, allocations: 163.7 kB / 360.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.005401, allocations: 360.2 kB / 360.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.005749, allocations: 197.2 kB / 360.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.005997, allocations: 207.5 kB / 361.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.006169, allocations: 111.5 kB / 361.2 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.006232, allocations: 36 kB / 361.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.619e-05/0.006289, allocations: 40 kB / 361.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.745e-05/0.006386, allocations: 95.64 kB / 361.4 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.00651, allocations: 115.6 kB / 361.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.006989, allocations: 402.4 kB / 361.9 MB, free: 404 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.006992, allocations: 4 kB / 361.9 MB, free: 400 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006993, allocations: 0 / 361.9 MB, free: 400 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.006999, allocations: 0 / 361.9 MB, free: 400 kB / 282.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.001248/0.008247, allocations: 0.8501 MB / 362.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.008281, allocations: 12.03 kB / 362.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.008421, allocations: 92.61 kB / 362.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.008849, allocations: 271.8 kB / 363.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.008887, allocations: 33.38 kB / 363.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.008958, allocations: 48.38 kB / 363.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.009703, allocations: 474.1 kB / 363.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.009719, allocations: 192 / 363.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.009756, allocations: 24.38 kB / 363.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.009772, allocations: 12.38 kB / 363.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.0102, allocations: 227.7 kB / 363.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.01244, allocations: 1.983 MB / 365.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.01284, allocations: 182.9 kB / 366.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.01297, allocations: 67.67 kB / 366.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.01301, allocations: 4 kB / 366.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.01323, allocations: 121 kB / 366.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/0.01323, allocations: 0 / 366.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004838/0.01372, allocations: 252.6 kB / 366.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.01376, allocations: 55.41 kB / 366.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.0141, allocations: 324.3 kB / 366.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.01413, allocations: 29.7 kB / 366.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.01436, allocations: 303 kB / 367.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/0.01444, allocations: 87.31 kB / 367.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.01455, allocations: 67.64 kB / 367.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.01484, allocations: 0.5157 MB / 367.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.01497, allocations: 60.55 kB / 367.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.01519, allocations: 170.7 kB / 368.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.01554, allocations: 255.7 kB / 368.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01555, allocations: 0 / 368.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004452/0.01599, allocations: 269.1 kB / 368.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01601, allocations: 4 kB / 368.6 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01601, allocations: 7.938 kB / 368.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.01603, allocations: 4 kB / 368.6 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.01623, allocations: 47.92 kB / 368.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.01625, allocations: 11.92 kB / 368.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.01635, allocations: 23.83 kB / 368.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.01637, allocations: 12.28 kB / 368.7 MB, free: 9.184 MB / 298.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 0.0001944/0.01657, allocations: 196.5 kB / 368.9 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.01662, allocations: 31.86 kB / 368.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.017, allocations: 195.8 kB / 369.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.017, allocations: 7.938 kB / 369.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.017, allocations: 0 / 369.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01701, allocations: 0 / 369.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.01782, allocations: 0.6175 MB / 369.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01782, allocations: 0 / 369.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.01801, allocations: 31.92 kB / 369.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01801, allocations: 0 / 369.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.01803, allocations: 15.94 kB / 369.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.01804, allocations: 3.984 kB / 369.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01804, allocations: 0 / 369.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.01858, allocations: 412.3 kB / 370.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.01862, allocations: 23.8 kB / 370.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.01865, allocations: 11.88 kB / 370.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01877, allocations: 8 kB / 370.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01882, allocations: 16 kB / 370.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.01883, allocations: 8 kB / 370.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002/0.01903, allocations: 213.1 kB / 370.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01903, allocations: 4 kB / 370.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003293/0.01936, allocations: 83.62 kB / 370.6 MB, free: 7.254 MB / 298.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 0.0001178/0.01948, allocations: 95.25 kB / 370.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.01984, allocations: 179.4 kB / 370.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01985, allocations: 0 / 370.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.01999, allocations: 86.59 kB / 370.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.02036, allocations: 43.33 kB / 371 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.02143, allocations: 0.6274 MB / 371.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.02165, allocations: 190.8 kB / 371.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.881e-05/0.02174, allocations: 21.94 kB / 371.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.0218, allocations: 20.5 kB / 371.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0218, allocations: 0 / 371.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of Templates: time 0.005676/0.02747, allocations: 1.596 MB / 373.4 MB, free: 4.375 MB / 298.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: 4.5489868640434]