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.001363/0.001363, allocations: 84.73 kB / 19.44 MB, free: 348 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.001498/0.001498, allocations: 157.7 kB / 22.75 MB, free: 1.676 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.431/1.431, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.1964/0.1964, allocations: 21.79 MB / 281.4 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 5.31e-06/5.31e-06, allocations: 3.984 kB / 358 MB, free: 4.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.897e-05, allocations: 10.19 kB / 358 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003277/0.003316, allocations: 1.704 MB / 359.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007128/0.004029, allocations: 314.7 kB / 360 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.004196, allocations: 11.94 kB / 360.1 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.004402, allocations: 59.31 kB / 360.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.004523, allocations: 39.56 kB / 360.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.004883, allocations: 155.7 kB / 360.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.005355, allocations: 368.2 kB / 360.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.005722, allocations: 197.2 kB / 360.9 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.005968, allocations: 207.5 kB / 361.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.006156, allocations: 111.5 kB / 361.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.006225, allocations: 36 kB / 361.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.006281, allocations: 36 kB / 361.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.006384, allocations: 95.64 kB / 361.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.006512, allocations: 115.6 kB / 361.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.007036, allocations: 410.4 kB / 361.8 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.007041, allocations: 0 / 361.8 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007042, allocations: 0 / 361.8 MB, free: 460 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.007049, allocations: 0 / 361.8 MB, free: 460 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.001137/0.008186, allocations: 0.6825 MB / 362.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.00822, allocations: 12.03 kB / 362.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.008369, allocations: 92.61 kB / 362.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.008875, allocations: 273 kB / 362.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.008917, allocations: 37.38 kB / 362.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.009002, allocations: 44.38 kB / 363 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.009739, allocations: 444.6 kB / 363.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.009753, allocations: 192 / 363.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.009792, allocations: 16.38 kB / 363.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.009809, allocations: 16.38 kB / 363.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.01024, allocations: 235.7 kB / 363.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.01223, allocations: 1.467 MB / 365.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.01264, allocations: 166.1 kB / 365.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.01279, allocations: 76.83 kB / 365.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.01282, allocations: 4 kB / 365.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.01306, allocations: 111.4 kB / 365.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.01306, allocations: 0 / 365.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005072/0.01357, allocations: 248.9 kB / 365.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.01362, allocations: 59.34 kB / 365.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.01389, allocations: 225.7 kB / 366 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.01392, allocations: 29.7 kB / 366 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.01413, allocations: 248.3 kB / 366.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.01421, allocations: 75.33 kB / 366.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.811e-05/0.01431, allocations: 53.98 kB / 366.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.01451, allocations: 334.8 kB / 366.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.01463, allocations: 56.55 kB / 366.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.01484, allocations: 142.3 kB / 366.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.01518, allocations: 214.6 kB / 367.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01518, allocations: 0 / 367.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004544/0.01564, allocations: 267.8 kB / 367.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01565, allocations: 6.5 kB / 367.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.01566, allocations: 7.938 kB / 367.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.01569, allocations: 4 kB / 367.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.0159, allocations: 51.91 kB / 367.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.01591, allocations: 7.938 kB / 367.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01603, allocations: 27.78 kB / 367.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.01606, allocations: 8 kB / 367.5 MB, free: 10.49 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.0001903/0.01625, allocations: 162 kB / 367.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.01629, allocations: 27.86 kB / 367.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.01668, allocations: 195.8 kB / 367.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.01669, allocations: 7.938 kB / 367.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.0167, allocations: 0 / 367.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0167, allocations: 0 / 367.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.01743, allocations: 0.5207 MB / 368.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01743, allocations: 0 / 368.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.01762, allocations: 35.92 kB / 368.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01762, allocations: 0 / 368.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.01764, allocations: 7.938 kB / 368.5 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.01765, allocations: 8 kB / 368.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01765, allocations: 0 / 368.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.0182, allocations: 357.3 kB / 368.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.01824, allocations: 23.75 kB / 368.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.01827, allocations: 11.94 kB / 368.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01839, allocations: 11.97 kB / 368.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.01844, allocations: 7.984 kB / 368.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.01846, allocations: 8 kB / 368.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.01864, allocations: 165.2 kB / 369 MB, free: 8.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01864, allocations: 0 / 369 MB, free: 8.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.019, allocations: 79.67 kB / 369.1 MB, free: 8.812 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.0001393/0.01914, allocations: 95.25 kB / 369.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.01948, allocations: 159.8 kB / 369.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.01948, allocations: 4 kB / 369.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.01961, allocations: 67.92 kB / 369.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.02, allocations: 42.56 kB / 369.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.02106, allocations: 0.6178 MB / 370.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.02128, allocations: 198.8 kB / 370.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.86e-05/0.02137, allocations: 21.95 kB / 370.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.02143, allocations: 20.5 kB / 370.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.02143, allocations: 0 / 370.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of Templates: time 0.005545/0.02698, allocations: 1.575 MB / 371.9 MB, free: 5.992 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.314509209943935]