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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2963/0.2963, allocations: 28.85 MB / 319.8 MB, free: 6.219 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003117, allocations: 8 kB / 387.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.287, allocations: 57.48 MB / 445.3 MB, free: 32.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.001734/0.2888, allocations: 1.488 MB / 446.8 MB, free: 31.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000482/0.2893, allocations: 290.8 kB / 447 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2894, allocations: 9.156 kB / 447 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.089e-05/0.2895, allocations: 29.2 kB / 447.1 MB, free: 31.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2897, allocations: 30.02 kB / 447.1 MB, free: 31.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.2899, allocations: 108.5 kB / 447.2 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2902, allocations: 216.6 kB / 447.4 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.2906, allocations: 208.6 kB / 447.6 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.2907, allocations: 80.67 kB / 447.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2908, allocations: 102.3 kB / 447.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.2908, allocations: 8.781 kB / 447.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.607e-05/0.2909, allocations: 8.531 kB / 447.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.2909, allocations: 57.42 kB / 447.9 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.291, allocations: 78.58 kB / 448 MB, free: 30.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.2912, allocations: 253.9 kB / 448.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2912, allocations: 3.938 kB / 448.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2912, allocations: 0 / 448.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2913, allocations: 2.969 kB / 448.2 MB, free: 30.74 MB / 350.1 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.0008943/0.2922, allocations: 0.5977 MB / 448.8 MB, free: 30.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2922, allocations: 8.062 kB / 448.8 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.2923, allocations: 53.52 kB / 448.9 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.2927, allocations: 305.4 kB / 449.2 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.2927, allocations: 37.25 kB / 449.2 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.2928, allocations: 47.55 kB / 449.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.2933, allocations: 430 kB / 449.7 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2934, allocations: 3.938 kB / 449.7 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.2934, allocations: 21.5 kB / 449.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.2934, allocations: 14.94 kB / 449.7 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.2938, allocations: 227.2 kB / 449.9 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.2952, allocations: 1.672 MB / 451.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.2955, allocations: 177.3 kB / 451.8 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.2956, allocations: 3.953 kB / 451.8 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.2958, allocations: 117.4 kB / 451.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.2958, allocations: 0 / 451.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003662/0.2962, allocations: 233.9 kB / 452.1 MB, free: 28.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.2962, allocations: 58.34 kB / 452.2 MB, free: 27.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.2964, allocations: 256.7 kB / 452.4 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2964, allocations: 29.7 kB / 452.5 MB, free: 27.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.2965, allocations: 236.8 kB / 452.7 MB, free: 27.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.2966, allocations: 77.45 kB / 452.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.2966, allocations: 6.688 kB / 452.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.2967, allocations: 338.9 kB / 453.1 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.2968, allocations: 61.62 kB / 453.2 MB, free: 27.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.2969, allocations: 128.8 kB / 453.3 MB, free: 27.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.297, allocations: 84.75 kB / 453.4 MB, free: 27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.297, allocations: 0 / 453.4 MB, free: 27 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002899/0.2973, allocations: 259 kB / 453.6 MB, free: 26.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2973, allocations: 5.875 kB / 453.6 MB, free: 26.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2973, allocations: 6.875 kB / 453.6 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2973, allocations: 2.812 kB / 453.6 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.2975, allocations: 47.55 kB / 453.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2975, allocations: 5.781 kB / 453.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2977, allocations: 25 kB / 453.7 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2977, allocations: 12.31 kB / 453.7 MB, free: 26.84 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.2978, allocations: 154.8 kB / 453.9 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.2978, allocations: 36.67 kB / 453.9 MB, free: 26.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.2981, allocations: 198.2 kB / 454.1 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2981, allocations: 0 / 454.1 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2981, allocations: 2.75 kB / 454.1 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2981, allocations: 3.422 kB / 454.1 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.2987, allocations: 0.6319 MB / 454.7 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2987, allocations: 0 / 454.7 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2989, allocations: 33.81 kB / 454.8 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2989, allocations: 3.938 kB / 454.8 MB, free: 26.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.2989, allocations: 6.5 kB / 454.8 MB, free: 26.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2989, allocations: 4 kB / 454.8 MB, free: 26.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2989, allocations: 3.422 kB / 454.8 MB, free: 26.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.2993, allocations: 348.2 kB / 455.1 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.2994, allocations: 113.4 kB / 455.2 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2994, allocations: 2.781 kB / 455.2 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2995, allocations: 6.656 kB / 455.3 MB, free: 25.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.2996, allocations: 12.81 kB / 455.3 MB, free: 25.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.2996, allocations: 10.66 kB / 455.3 MB, free: 25.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.2997, allocations: 176.4 kB / 455.5 MB, free: 25.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2997, allocations: 0 / 455.5 MB, free: 25.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.3, allocations: 78.75 kB / 455.5 MB, free: 25.62 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.3001, allocations: 103.7 kB / 455.6 MB, free: 25.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.3004, allocations: 164.4 kB / 455.8 MB, free: 25.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3005, allocations: 0.5625 kB / 455.8 MB, free: 25.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3006, allocations: 79.17 kB / 455.9 MB, free: 25.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3009, allocations: 40.33 kB / 455.9 MB, free: 25.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.302, allocations: 0.7592 MB / 456.7 MB, free: 24.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3023, allocations: 0.8132 MB / 457.5 MB, free: 24.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.3023, allocations: 19.47 kB / 457.5 MB, free: 24.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.3024, allocations: 23.19 kB / 457.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3024, allocations: 0 / 457.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of Templates: time 0.004729/0.3072, allocations: 1.666 MB / 459.2 MB, free: 24 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: