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.0006839/0.0006839, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009321/0.001616, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006949/0.0006949, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009062/0.001601, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8901/0.8901, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07732/0.9674, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.1113/0.1113, allocations: 21.81 MB / 265.8 MB, free: 9 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01215/0.1234, allocations: 7.843 MB / 273.6 MB, free: 1.141 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 2.404e-06/2.404e-06, allocations: 0 / 274.9 MB, free: 1.363 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.725e-05, allocations: 2.312 kB / 274.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.002113/0.00213, allocations: 1.777 MB / 276.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.002831, allocations: 344.3 kB / 277 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.002993, allocations: 10.41 kB / 277 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.003113, allocations: 63.34 kB / 277.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.003196, allocations: 39.98 kB / 277.1 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.003463, allocations: 152 kB / 277.2 MB, free: 476 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.003798, allocations: 355.3 kB / 277.6 MB, free: 296 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.004047, allocations: 205.8 kB / 277.8 MB, free: 176 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.004276, allocations: 232.8 kB / 278 MB, free: 64 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.004412, allocations: 117 kB / 278.1 MB, free: 8 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.004466, allocations: 37.66 kB / 278.2 MB, free: 8 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.004502, allocations: 38.59 kB / 278.2 MB, free: 8 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.004584, allocations: 67.36 kB / 278.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.004658, allocations: 91.78 kB / 278.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.004933, allocations: 247.2 kB / 278.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.004947, allocations: 0 / 278.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004948, allocations: 0 / 278.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.004961, allocations: 0 / 278.6 MB, free: 15.86 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.0007705/0.005731, allocations: 0.6718 MB / 279.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.005763, allocations: 10.22 kB / 279.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.005856, allocations: 67.53 kB / 279.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.006139, allocations: 230.7 kB / 279.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.006167, allocations: 37.03 kB / 279.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.006214, allocations: 44.5 kB / 279.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.006563, allocations: 353.8 kB / 280 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.006575, allocations: 6.328 kB / 280 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.006596, allocations: 17.7 kB / 280 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.006606, allocations: 12.69 kB / 280 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.006739, allocations: 108.5 kB / 280.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.007822, allocations: 1.305 MB / 281.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.008009, allocations: 112.1 kB / 281.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.008049, allocations: 35.08 kB / 281.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.008077, allocations: 7.797 kB / 281.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.008212, allocations: 89.38 kB / 281.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.304e-06/0.008214, allocations: 0 / 281.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001815/0.008395, allocations: 128.9 kB / 281.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.008424, allocations: 57.66 kB / 281.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.008549, allocations: 221.3 kB / 282.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.008563, allocations: 30.83 kB / 282.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.008711, allocations: 233.1 kB / 282.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.00875, allocations: 81.45 kB / 282.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.008804, allocations: 50.19 kB / 282.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.008883, allocations: 344.3 kB / 282.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.008913, allocations: 21.77 kB / 282.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.00898, allocations: 104.5 kB / 282.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.009103, allocations: 144.4 kB / 283.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.009107, allocations: 0.75 kB / 283.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001633/0.00927, allocations: 153 kB / 283.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.009284, allocations: 10.3 kB / 283.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.009291, allocations: 2.219 kB / 283.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.009302, allocations: 4.984 kB / 283.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.009425, allocations: 57.45 kB / 283.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.00943, allocations: 7.109 kB / 283.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.009487, allocations: 22.62 kB / 283.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.009498, allocations: 6.812 kB / 283.3 MB, free: 12.62 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 8.462e-05/0.009583, allocations: 139.1 kB / 283.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.009606, allocations: 21.73 kB / 283.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.009764, allocations: 125.2 kB / 283.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.009767, allocations: 3.422 kB / 283.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.00977, allocations: 5.5 kB / 283.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.009773, allocations: 1.125 kB / 283.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.01009, allocations: 351.8 kB / 284 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01009, allocations: 0 / 284 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.0102, allocations: 42.7 kB / 284 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.01022, allocations: 26.3 kB / 284 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01022, allocations: 1.438 kB / 284 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.01024, allocations: 9.953 kB / 284 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01024, allocations: 2.125 kB / 284 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01024, allocations: 0 / 284 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.01043, allocations: 246.5 kB / 284.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01045, allocations: 5.969 kB / 284.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.0105, allocations: 10.03 kB / 284.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.01053, allocations: 14.36 kB / 284.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.01054, allocations: 8.859 kB / 284.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.836e-05/0.0106, allocations: 67.92 kB / 284.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0106, allocations: 0 / 284.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01078, allocations: 81.11 kB / 284.5 MB, free: 11.93 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 7.228e-05/0.01085, allocations: 79.06 kB / 284.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.011, allocations: 106.5 kB / 284.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.01101, allocations: 4.531 kB / 284.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/0.01106, allocations: 58.69 kB / 284.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.01125, allocations: 51.27 kB / 284.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.01202, allocations: 0.6568 MB / 285.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.01208, allocations: 112.1 kB / 285.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.791e-05/0.01215, allocations: 19.14 kB / 285.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.01223, allocations: 75.78 kB / 285.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01223, allocations: 0 / 285.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of Templates: time 0.004368/0.0166, allocations: 1.719 MB / 287.3 MB, free: 10.97 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.566709284670651]