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.0007258/0.0007258, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000983/0.001709, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007222/0.0007222, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009951/0.001717, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9276/0.9276, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.03, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1302/0.1302, allocations: 21.79 MB / 265.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01148/0.1416, allocations: 7.859 MB / 273.8 MB, free: 1.027 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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.633e-06/1.633e-06, allocations: 0 / 275.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.362e-05, allocations: 2.312 kB / 275.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.002097/0.002111, allocations: 1.786 MB / 276.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006299/0.002741, allocations: 339.8 kB / 277.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.002891, allocations: 16.06 kB / 277.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.003001, allocations: 66.12 kB / 277.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.00307, allocations: 31.64 kB / 277.3 MB, free: 484 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.003355, allocations: 153 kB / 277.5 MB, free: 400 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.003647, allocations: 352.8 kB / 277.8 MB, free: 220 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.003889, allocations: 206.4 kB / 278 MB, free: 96 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.0041, allocations: 239.1 kB / 278.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.004237, allocations: 113.6 kB / 278.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.004289, allocations: 37.16 kB / 278.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.355e-05/0.004323, allocations: 38 kB / 278.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.004378, allocations: 71.38 kB / 278.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.004447, allocations: 88.28 kB / 278.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.004693, allocations: 247.1 kB / 278.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.004703, allocations: 0.5 kB / 278.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004704, allocations: 2.688 kB / 278.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.004716, allocations: 0 / 278.8 MB, free: 15.78 MB / 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.0007136/0.005429, allocations: 0.6681 MB / 279.5 MB, free: 15.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.005457, allocations: 12.2 kB / 279.5 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.005538, allocations: 70.78 kB / 279.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.005798, allocations: 232.2 kB / 279.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.005821, allocations: 36.19 kB / 279.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.005865, allocations: 47.42 kB / 279.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.006182, allocations: 354.2 kB / 280.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.006194, allocations: 1.859 kB / 280.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.006213, allocations: 17.53 kB / 280.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.006223, allocations: 11.97 kB / 280.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.006342, allocations: 113.2 kB / 280.4 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.00746, allocations: 1.294 MB / 281.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.007641, allocations: 118.2 kB / 281.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.007681, allocations: 35.23 kB / 281.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.007699, allocations: 4.656 kB / 281.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.007826, allocations: 88.77 kB / 281.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.007827, allocations: 1.469 kB / 281.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001766/0.008004, allocations: 127.4 kB / 282 MB, free: 13.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.008031, allocations: 56.02 kB / 282.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.008158, allocations: 219.7 kB / 282.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.008173, allocations: 31.34 kB / 282.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.008276, allocations: 232.3 kB / 282.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.008319, allocations: 81.58 kB / 282.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.00838, allocations: 50.34 kB / 282.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.008462, allocations: 344.5 kB / 283 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.008497, allocations: 22.31 kB / 283 MB, free: 12.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.008569, allocations: 101.8 kB / 283.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.008711, allocations: 154.4 kB / 283.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.008714, allocations: 0 / 283.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001649/0.008879, allocations: 160.6 kB / 283.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.00889, allocations: 7.875 kB / 283.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.008896, allocations: 5.219 kB / 283.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.008908, allocations: 5.016 kB / 283.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.009024, allocations: 57.08 kB / 283.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.00903, allocations: 5.266 kB / 283.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.009087, allocations: 26.7 kB / 283.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.009097, allocations: 5.812 kB / 283.6 MB, free: 12.53 MB / 282.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 7.888e-05/0.009176, allocations: 139.3 kB / 283.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.009198, allocations: 21.42 kB / 283.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.009342, allocations: 126 kB / 283.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.009344, allocations: 2.188 kB / 283.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.009345, allocations: 0 / 283.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.009349, allocations: 2.562 kB / 283.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.009652, allocations: 365.9 kB / 284.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.009655, allocations: 4.75 kB / 284.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.009758, allocations: 37.95 kB / 284.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.009778, allocations: 18.52 kB / 284.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00978, allocations: 2.062 kB / 284.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.009794, allocations: 9.25 kB / 284.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.009796, allocations: 1.969 kB / 284.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009797, allocations: 0 / 284.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.01013, allocations: 242.6 kB / 284.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.01015, allocations: 5.125 kB / 284.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.0102, allocations: 7.359 kB / 284.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.01023, allocations: 15.23 kB / 284.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01023, allocations: 7 kB / 284.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.097e-05/0.01029, allocations: 68.75 kB / 284.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01029, allocations: 0 / 284.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01048, allocations: 79.88 kB / 284.7 MB, free: 11.84 MB / 282.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 6.875e-05/0.01055, allocations: 84.59 kB / 284.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.0107, allocations: 113.3 kB / 284.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.01071, allocations: 8.297 kB / 284.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.01078, allocations: 62.97 kB / 284.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.01101, allocations: 178.7 kB / 285.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.01164, allocations: 0.6613 MB / 285.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.01171, allocations: 114.7 kB / 285.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.469e-05/0.01178, allocations: 21.92 kB / 285.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.01187, allocations: 78.52 kB / 286 MB, free: 11.01 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01187, allocations: 0 / 286 MB, free: 11.01 MB / 282.7 MB Notification: Performance of Templates: time 0.004221/0.01609, allocations: 1.798 MB / 287.8 MB, free: 10.64 MB / 282.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.646902857348323]