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.001272/0.001272, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.001466/0.001466, allocations: 169 kB / 24.06 MB, free: 444 kB / 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.9978/0.9978, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.1318/0.1318, allocations: 21.8 MB / 282.8 MB, free: 7.016 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 2.505e-06/2.505e-06, allocations: 3.938 kB / 360 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.334e-05, allocations: 2.312 kB / 360 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003311/0.003345, allocations: 1.739 MB / 361.7 MB, free: 3.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007956/0.00414, allocations: 310.8 kB / 362 MB, free: 2.754 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.004366, allocations: 11.94 kB / 362 MB, free: 2.742 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.004574, allocations: 55.38 kB / 362.1 MB, free: 2.688 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.004689, allocations: 35.5 kB / 362.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.005059, allocations: 163.7 kB / 362.3 MB, free: 2.492 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.005476, allocations: 360.2 kB / 362.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.005819, allocations: 201.2 kB / 362.8 MB, free: 1.938 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.006031, allocations: 199.6 kB / 363 MB, free: 1.742 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.006196, allocations: 123.5 kB / 363.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.006254, allocations: 36 kB / 363.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.116e-05/0.006295, allocations: 36 kB / 363.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.006371, allocations: 91.66 kB / 363.3 MB, free: 1.461 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.00647, allocations: 115.6 kB / 363.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.006822, allocations: 274.7 kB / 363.7 MB, free: 1.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.006826, allocations: 0 / 363.7 MB, free: 1.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.006828, allocations: 0 / 363.7 MB, free: 1.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.006834, allocations: 0 / 363.7 MB, free: 1.078 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.0009177/0.007752, allocations: 0.8149 MB / 364.5 MB, free: 220 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.007793, allocations: 12.03 kB / 364.5 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.007913, allocations: 88.61 kB / 364.6 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.008295, allocations: 275.6 kB / 364.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.00833, allocations: 37.38 kB / 364.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.008393, allocations: 48.36 kB / 365 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.008834, allocations: 366.1 kB / 365.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.00885, allocations: 192 / 365.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.008882, allocations: 20.38 kB / 365.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.008895, allocations: 12.38 kB / 365.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.009094, allocations: 122.7 kB / 365.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.01069, allocations: 1.831 MB / 367.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.01097, allocations: 127 kB / 367.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.01104, allocations: 43.66 kB / 367.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.01106, allocations: 4 kB / 367.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.01122, allocations: 99.94 kB / 367.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.01122, allocations: 0 / 367.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002906/0.01151, allocations: 157.7 kB / 367.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.01155, allocations: 55.34 kB / 367.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.01175, allocations: 276.1 kB / 368 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.01177, allocations: 29.7 kB / 368.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.01195, allocations: 299 kB / 368.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.01201, allocations: 79.31 kB / 368.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.01209, allocations: 59.62 kB / 368.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.01225, allocations: 0.5079 MB / 369 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.01231, allocations: 32.47 kB / 369 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01242, allocations: 130.7 kB / 369.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.01262, allocations: 175.4 kB / 369.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01262, allocations: 0 / 369.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002947/0.01292, allocations: 202.1 kB / 369.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01293, allocations: 4.281 kB / 369.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.01294, allocations: 8 kB / 369.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01296, allocations: 7.938 kB / 369.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.01312, allocations: 43.92 kB / 369.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01313, allocations: 4 kB / 369.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.01322, allocations: 19.89 kB / 369.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01323, allocations: 11.98 kB / 369.6 MB, free: 10.76 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 0.000133/0.01337, allocations: 187.5 kB / 369.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.0134, allocations: 27.86 kB / 369.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.01364, allocations: 143.8 kB / 370 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01364, allocations: 4 kB / 370 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01364, allocations: 11.92 kB / 370 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01365, allocations: 0 / 370 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.01414, allocations: 464.9 kB / 370.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01414, allocations: 0 / 370.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.01429, allocations: 27.98 kB / 370.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01429, allocations: 4 kB / 370.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.01431, allocations: 4 kB / 370.5 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01431, allocations: 0 / 370.5 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.01432, allocations: 3.938 kB / 370.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.01465, allocations: 327.6 kB / 370.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.01468, allocations: 27.8 kB / 370.8 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.0147, allocations: 7.938 kB / 370.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.0148, allocations: 11.92 kB / 370.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.01484, allocations: 11.98 kB / 370.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01485, allocations: 4 kB / 370.9 MB, free: 9.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.01497, allocations: 181.1 kB / 371.1 MB, free: 9.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01497, allocations: 0 / 371.1 MB, free: 9.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003619/0.01533, allocations: 79.62 kB / 371.1 MB, free: 9.203 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.0001155/0.01544, allocations: 111.2 kB / 371.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.01566, allocations: 115.4 kB / 371.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.01566, allocations: 4 kB / 371.4 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.01574, allocations: 58.77 kB / 371.4 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.0161, allocations: 36.48 kB / 371.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008385/0.01694, allocations: 0.5877 MB / 372 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.649e-05/0.01702, allocations: 96.3 kB / 372.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.829e-05/0.01711, allocations: 26.5 kB / 372.2 MB, free: 8.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.01722, allocations: 94.2 kB / 372.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01722, allocations: 0 / 372.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of Templates: time 0.005252/0.02247, allocations: 1.777 MB / 374 MB, free: 6.258 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.010379229206592]