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.001283/0.001283, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001054/0.001054, allocations: 173 kB / 23.49 MB, free: 1.055 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.9244/0.9244, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.1329/0.1329, allocations: 21.8 MB / 282.1 MB, free: 7.23 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 3.206e-06/3.206e-06, allocations: 0 / 358.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.131e-05, allocations: 2.312 kB / 358.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003559/0.00359, allocations: 1.758 MB / 360.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.00445, allocations: 318.8 kB / 360.8 MB, free: 3.355 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.004726, allocations: 7.938 kB / 360.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.00497, allocations: 55.33 kB / 360.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.005113, allocations: 35.55 kB / 360.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.005633, allocations: 159.8 kB / 361.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.006158, allocations: 368.2 kB / 361.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.006544, allocations: 193.2 kB / 361.6 MB, free: 2.547 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.006779, allocations: 215.5 kB / 361.9 MB, free: 2.336 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.006978, allocations: 107.6 kB / 362 MB, free: 2.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.007047, allocations: 39.98 kB / 362 MB, free: 2.191 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.473e-05/0.007092, allocations: 36 kB / 362 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.00717, allocations: 95.61 kB / 362.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.007278, allocations: 107.7 kB / 362.2 MB, free: 1.957 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.007677, allocations: 278.7 kB / 362.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.007683, allocations: 0 / 362.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.007684, allocations: 0 / 362.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.007691, allocations: 4 kB / 362.5 MB, free: 1.68 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.001119/0.00881, allocations: 0.7957 MB / 363.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.008855, allocations: 12.03 kB / 363.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.008998, allocations: 88.61 kB / 363.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.009414, allocations: 283.6 kB / 363.7 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.009447, allocations: 33.38 kB / 363.7 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.009512, allocations: 44.38 kB / 363.8 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.0101, allocations: 394.2 kB / 364.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01012, allocations: 4.125 kB / 364.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.01015, allocations: 16.38 kB / 364.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.01017, allocations: 12.38 kB / 364.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.0105, allocations: 169.6 kB / 364.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.0134, allocations: 1.87 MB / 366.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.01375, allocations: 142.9 kB / 366.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.01385, allocations: 47.67 kB / 366.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.01388, allocations: 4 kB / 366.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.01411, allocations: 99.83 kB / 366.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.946e-06/0.01411, allocations: 0 / 366.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.000417/0.01453, allocations: 185.7 kB / 366.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.01457, allocations: 55.41 kB / 366.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.01481, allocations: 276.2 kB / 367 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.01483, allocations: 29.7 kB / 367 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.015, allocations: 299 kB / 367.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.01507, allocations: 79.33 kB / 367.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.01517, allocations: 55.64 kB / 367.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.01532, allocations: 0.504 MB / 368 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.01541, allocations: 36.53 kB / 368 MB, free: 11.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.01555, allocations: 130.8 kB / 368.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.0158, allocations: 195.4 kB / 368.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0158, allocations: 0 / 368.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00036/0.01616, allocations: 222.3 kB / 368.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.01618, allocations: 4 kB / 368.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.01619, allocations: 7.938 kB / 368.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.01621, allocations: 4 kB / 368.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.01639, allocations: 47.92 kB / 368.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.0164, allocations: 7.938 kB / 368.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.0165, allocations: 19.89 kB / 368.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.01652, allocations: 11.98 kB / 368.6 MB, free: 11.18 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 0.0001381/0.01666, allocations: 172.5 kB / 368.8 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.0167, allocations: 35.98 kB / 368.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.01698, allocations: 155 kB / 369 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.01699, allocations: 11.92 kB / 369 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.01699, allocations: 0 / 369 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.017, allocations: 0 / 369 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.01756, allocations: 0.5168 MB / 369.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01756, allocations: 0 / 369.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.01773, allocations: 35.86 kB / 369.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01773, allocations: 0 / 369.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.01776, allocations: 11.94 kB / 369.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01776, allocations: 0 / 369.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01776, allocations: 4 kB / 369.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.01816, allocations: 343.6 kB / 369.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.01819, allocations: 27.78 kB / 369.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.01821, allocations: 3.938 kB / 369.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.01831, allocations: 8 kB / 369.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.01836, allocations: 15.97 kB / 370 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.01838, allocations: 4 kB / 370 MB, free: 9.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.01851, allocations: 185.1 kB / 370.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01851, allocations: 0 / 370.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000375/0.01889, allocations: 87.55 kB / 370.2 MB, free: 9.508 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 0.000144/0.01903, allocations: 103.2 kB / 370.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.01931, allocations: 126.8 kB / 370.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01932, allocations: 4 kB / 370.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.01941, allocations: 59.59 kB / 370.5 MB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.01978, allocations: 47.39 kB / 370.6 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009668/0.02075, allocations: 0.5916 MB / 371.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.933e-05/0.02084, allocations: 100.8 kB / 371.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.735e-05/0.02092, allocations: 17.95 kB / 371.3 MB, free: 8.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.02098, allocations: 20.5 kB / 371.3 MB, free: 8.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.02098, allocations: 0 / 371.3 MB, free: 8.383 MB / 346.7 MB Notification: Performance of Templates: time 0.005285/0.02627, allocations: 1.581 MB / 372.9 MB, free: 6.82 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.1374340071342885]