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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.004412/0.004412, allocations: 171.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007773/0.0007774, allocations: 101.2 kB / 290.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1332/0.1332, allocations: 28.84 MB / 370.2 MB, free: 52 kB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 8.828 kB / 438.1 MB, free: 88.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06934/0.0696, allocations: 57.48 MB / 495.6 MB, free: 31.75 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.3069, allocations: 79.49 MB / 0.5616 GB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001571/0.3071, allocations: 63.67 kB / 0.5617 GB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.318, allocations: 5.354 MB / 0.5669 GB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.318, allocations: 1.375 kB / 0.5669 GB, free: 10.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.318, allocations: 8.25 kB / 0.5669 GB, free: 10.89 MB / 378.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.0005546/0.3186, allocations: 0.6111 MB / 0.5675 GB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3186, allocations: 13.41 kB / 0.5675 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.3187, allocations: 55.55 kB / 0.5676 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.319, allocations: 298.5 kB / 0.5679 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.319, allocations: 40.53 kB / 0.5679 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.3191, allocations: 45.78 kB / 0.5679 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.3196, allocations: 435.7 kB / 0.5684 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3196, allocations: 1.094 kB / 0.5684 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.3196, allocations: 19.19 kB / 0.5684 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3196, allocations: 15.23 kB / 0.5684 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.3199, allocations: 229.1 kB / 0.5686 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3212, allocations: 1.681 MB / 0.5703 GB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.3215, allocations: 169.8 kB / 0.5704 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3215, allocations: 6.266 kB / 0.5704 GB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3217, allocations: 118.3 kB / 0.5705 GB, free: 8.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.3217, allocations: 4 kB / 0.5705 GB, free: 8.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003271/0.3221, allocations: 235.8 kB / 0.5708 GB, free: 8.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.3221, allocations: 53.53 kB / 0.5708 GB, free: 8.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3223, allocations: 218.9 kB / 0.571 GB, free: 8.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3223, allocations: 32.72 kB / 0.5711 GB, free: 8.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.3224, allocations: 244 kB / 0.5713 GB, free: 8.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3224, allocations: 82.78 kB / 0.5714 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.3224, allocations: 4.906 kB / 0.5714 GB, free: 8.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.3225, allocations: 340.9 kB / 0.5717 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.863e-05/0.3226, allocations: 58.28 kB / 0.5718 GB, free: 8.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3227, allocations: 137 kB / 0.5719 GB, free: 8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.3228, allocations: 78.28 kB / 0.572 GB, free: 7.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3228, allocations: 1.219 kB / 0.572 GB, free: 7.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003028/0.3231, allocations: 265 kB / 0.5722 GB, free: 7.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3231, allocations: 5.75 kB / 0.5722 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3232, allocations: 2.312 kB / 0.5722 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3232, allocations: 4.719 kB / 0.5722 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3233, allocations: 50.41 kB / 0.5723 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3234, allocations: 2.656 kB / 0.5723 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.697e-05/0.3235, allocations: 26.06 kB / 0.5723 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.3235, allocations: 11.75 kB / 0.5723 GB, free: 7.91 MB / 378.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,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.0001097/0.3236, allocations: 149.2 kB / 0.5725 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.3236, allocations: 31.33 kB / 0.5725 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.3239, allocations: 205.9 kB / 0.5727 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.324, allocations: 2.406 kB / 0.5727 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.324, allocations: 0.5 kB / 0.5727 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.324, allocations: 3.203 kB / 0.5727 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.3245, allocations: 0.6341 MB / 0.5733 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3245, allocations: 0 / 0.5733 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.3247, allocations: 34.83 kB / 0.5733 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3247, allocations: 1.031 kB / 0.5733 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3247, allocations: 9.562 kB / 0.5733 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3247, allocations: 1.219 kB / 0.5734 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3247, allocations: 0 / 0.5734 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.325, allocations: 363.8 kB / 0.5737 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.3251, allocations: 102.7 kB / 0.5738 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3251, allocations: 5.625 kB / 0.5738 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3252, allocations: 9.734 kB / 0.5738 GB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.3253, allocations: 19.3 kB / 0.5738 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3253, allocations: 3.781 kB / 0.5738 GB, free: 7.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.3254, allocations: 178.4 kB / 0.574 GB, free: 7.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3254, allocations: 1.125 kB / 0.574 GB, free: 7.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.3257, allocations: 79.81 kB / 0.5741 GB, free: 7.027 MB / 378.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 (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 7.528e-05/0.3258, allocations: 96.53 kB / 0.5742 GB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.326, allocations: 176.1 kB / 0.5743 GB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.326, allocations: 4.062 kB / 0.5743 GB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.3261, allocations: 74.36 kB / 0.5744 GB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.3264, allocations: 42.42 kB / 0.5745 GB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.3271, allocations: 0.7655 MB / 0.5752 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.3273, allocations: 0.807 MB / 0.576 GB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.837e-05/0.3274, allocations: 23.72 kB / 0.576 GB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.3274, allocations: 20.44 kB / 0.576 GB, free: 5.719 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3274, allocations: 1.375 kB / 0.576 GB, free: 5.719 MB / 378.7 MB Notification: Performance of Templates: time 0.00386/0.3313, allocations: 1.674 MB / 0.5777 GB, free: 5.555 MB / 378.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile (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)