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.001007/0.001007, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001022/0.001022, allocations: 169 kB / 23.27 MB, free: 1.223 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.9853/0.9853, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.1363/0.1363, allocations: 21.8 MB / 282.1 MB, free: 7.043 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.166e-06/3.166e-06, allocations: 0 / 359.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.158e-05, allocations: 13.55 kB / 359.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.002395/0.002427, allocations: 1.735 MB / 360.9 MB, free: 3.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006161/0.003043, allocations: 310.8 kB / 361.2 MB, free: 2.785 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.003223, allocations: 7.938 kB / 361.3 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.003381, allocations: 55.39 kB / 361.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.003462, allocations: 39.48 kB / 361.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.003734, allocations: 159.8 kB / 361.5 MB, free: 2.527 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.004027, allocations: 364.2 kB / 361.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.004272, allocations: 201.2 kB / 362.1 MB, free: 1.969 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.004424, allocations: 203.5 kB / 362.3 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.004541, allocations: 115.6 kB / 362.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.004579, allocations: 36 kB / 362.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.886e-05/0.004608, allocations: 44 kB / 362.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.004661, allocations: 87.61 kB / 362.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.00473, allocations: 119.6 kB / 362.6 MB, free: 1.375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.004989, allocations: 266.7 kB / 362.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.004991, allocations: 0 / 362.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.004993, allocations: 0 / 362.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.004998, allocations: 0 / 362.9 MB, free: 1.113 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.0006643/0.005662, allocations: 0.8227 MB / 363.7 MB, free: 248 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.005695, allocations: 8.031 kB / 363.7 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.005769, allocations: 88.61 kB / 363.8 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.006018, allocations: 275.7 kB / 364.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.006038, allocations: 33.38 kB / 364.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.006083, allocations: 48.38 kB / 364.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.006376, allocations: 366 kB / 364.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006387, allocations: 4.188 kB / 364.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.006408, allocations: 20.38 kB / 364.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.006417, allocations: 12.38 kB / 364.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.006529, allocations: 126.6 kB / 364.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.007641, allocations: 1.835 MB / 366.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.007819, allocations: 119 kB / 366.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.007861, allocations: 43.66 kB / 366.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.007881, allocations: 12 kB / 366.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.00799, allocations: 96.12 kB / 366.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/0.007991, allocations: 0 / 366.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002331/0.008224, allocations: 153.8 kB / 366.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.008258, allocations: 59.34 kB / 367 MB, free: 12.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.008433, allocations: 276.1 kB / 367.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.008451, allocations: 29.7 kB / 367.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.008601, allocations: 299 kB / 367.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.00865, allocations: 79.3 kB / 367.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.008724, allocations: 63.62 kB / 367.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.008873, allocations: 0.504 MB / 368.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.008916, allocations: 28.48 kB / 368.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.009021, allocations: 130.7 kB / 368.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.009158, allocations: 171.4 kB / 368.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.009161, allocations: 4 kB / 368.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001854/0.009347, allocations: 198.3 kB / 368.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.009358, allocations: 4 kB / 368.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.009362, allocations: 4 kB / 368.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.009374, allocations: 8.219 kB / 368.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.009478, allocations: 55.91 kB / 368.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.009482, allocations: 4 kB / 368.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.009536, allocations: 19.89 kB / 368.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.009546, allocations: 8 kB / 368.9 MB, free: 10.79 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,Non_infected.Integrator1.local_reset,Infected.Integrator1.local_reset,Sick.Integrator1.local_reset,Immune.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.249e-05/0.009639, allocations: 175.2 kB / 369 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.009663, allocations: 31.86 kB / 369.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.009811, allocations: 146.8 kB / 369.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.009814, allocations: 4 kB / 369.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.009817, allocations: 7.875 kB / 369.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.00982, allocations: 0 / 369.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.01014, allocations: 469.7 kB / 369.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01014, allocations: 0 / 369.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.01023, allocations: 35.98 kB / 369.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01024, allocations: 0 / 369.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.01025, allocations: 4 kB / 369.7 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01025, allocations: 7.984 kB / 369.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.01026, allocations: 3.938 kB / 369.7 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.01047, allocations: 331.5 kB / 370 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.01049, allocations: 23.8 kB / 370.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.0105, allocations: 8 kB / 370.1 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.01055, allocations: 11.94 kB / 370.1 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.01057, allocations: 11.97 kB / 370.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01058, allocations: 4 kB / 370.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.948e-05/0.01065, allocations: 185.1 kB / 370.3 MB, free: 9.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01065, allocations: 0 / 370.3 MB, free: 9.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.01084, allocations: 79.62 kB / 370.4 MB, free: 9.223 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 8.713e-05/0.01093, allocations: 99.19 kB / 370.5 MB, free: 9.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.01107, allocations: 119.1 kB / 370.6 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01107, allocations: 4.062 kB / 370.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.01112, allocations: 55.59 kB / 370.6 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01134, allocations: 39.95 kB / 370.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.01191, allocations: 0.5916 MB / 371.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.536e-05/0.01197, allocations: 96.3 kB / 371.4 MB, free: 8.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.01202, allocations: 13.95 kB / 371.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.0121, allocations: 98.19 kB / 371.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of SimCode: time 8.71e-07/0.0121, allocations: 4 kB / 371.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of Templates: time 0.003624/0.01572, allocations: 1.719 MB / 373.2 MB, free: 6.355 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.7736419499851763]