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.001037/0.001037, allocations: 174.1 kB / 12.73 MB, free: 2.586 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.166/1.166, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008091/0.0008092, allocations: 86.8 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2827/0.2827, allocations: 28.82 MB / 365.3 MB, free: 42.04 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.089e-05, allocations: 0 / 430.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09703, allocations: 57.47 MB / 488.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3802, allocations: 79.43 MB / 0.5543 GB, free: 25.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001578/0.3804, allocations: 60.52 kB / 0.5543 GB, free: 25.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.3918, allocations: 5.353 MB / 0.5595 GB, free: 22.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3919, allocations: 0 / 0.5595 GB, free: 22.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.3919, allocations: 8 kB / 0.5596 GB, free: 22.47 MB / 394.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.0005687/0.3925, allocations: 0.5775 MB / 0.5601 GB, free: 21.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3925, allocations: 13.16 kB / 0.5601 GB, free: 21.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.3926, allocations: 59 kB / 0.5602 GB, free: 21.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.3929, allocations: 309.9 kB / 0.5605 GB, free: 21.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.393, allocations: 37.44 kB / 0.5605 GB, free: 21.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.393, allocations: 47 kB / 0.5606 GB, free: 21.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.3936, allocations: 427.2 kB / 0.561 GB, free: 21.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3936, allocations: 3.984 kB / 0.561 GB, free: 21.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.3936, allocations: 19.5 kB / 0.561 GB, free: 21.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3936, allocations: 15.95 kB / 0.561 GB, free: 21.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.3939, allocations: 218 kB / 0.5612 GB, free: 21.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.3953, allocations: 1.68 MB / 0.5629 GB, free: 19.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3956, allocations: 170.2 kB / 0.563 GB, free: 19.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/0.3957, allocations: 76.59 kB / 0.5631 GB, free: 19.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3957, allocations: 4 kB / 0.5631 GB, free: 19.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.3959, allocations: 113.5 kB / 0.5632 GB, free: 19.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.734e-06/0.3959, allocations: 0 / 0.5632 GB, free: 19.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002669/0.3961, allocations: 183.4 kB / 0.5634 GB, free: 19.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.3962, allocations: 60.66 kB / 0.5634 GB, free: 19.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3964, allocations: 224 kB / 0.5636 GB, free: 19.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3964, allocations: 29.33 kB / 0.5637 GB, free: 19.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.3965, allocations: 245.4 kB / 0.5639 GB, free: 18.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.3965, allocations: 78.64 kB / 0.564 GB, free: 18.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.3965, allocations: 3.562 kB / 0.564 GB, free: 18.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.3966, allocations: 341.5 kB / 0.5643 GB, free: 18.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.3967, allocations: 59.06 kB / 0.5644 GB, free: 18.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3968, allocations: 125.7 kB / 0.5645 GB, free: 18.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3969, allocations: 84.2 kB / 0.5646 GB, free: 18.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3969, allocations: 0 / 0.5646 GB, free: 18.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000289/0.3972, allocations: 250 kB / 0.5648 GB, free: 18.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3972, allocations: 4 kB / 0.5648 GB, free: 18.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3972, allocations: 5.453 kB / 0.5648 GB, free: 18.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3973, allocations: 5.594 kB / 0.5648 GB, free: 18.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3974, allocations: 47.66 kB / 0.5649 GB, free: 18.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3974, allocations: 5.453 kB / 0.5649 GB, free: 18.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3975, allocations: 23.12 kB / 0.5649 GB, free: 18.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3976, allocations: 15.41 kB / 0.5649 GB, free: 18.01 MB / 394.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 () * 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 5.346e-05/0.3976, allocations: 124.4 kB / 0.565 GB, free: 17.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3977, allocations: 23.72 kB / 0.5651 GB, free: 17.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3979, allocations: 194.3 kB / 0.5652 GB, free: 17.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3979, allocations: 4 kB / 0.5652 GB, free: 17.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3979, allocations: 0 / 0.5652 GB, free: 17.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.398, allocations: 1.875 kB / 0.5652 GB, free: 17.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.3984, allocations: 0.6425 MB / 0.5659 GB, free: 17.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3985, allocations: 6.188 kB / 0.5659 GB, free: 17.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.3986, allocations: 36.25 kB / 0.5659 GB, free: 17.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3986, allocations: 0 / 0.5659 GB, free: 17.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3987, allocations: 7.75 kB / 0.5659 GB, free: 17.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3987, allocations: 0 / 0.5659 GB, free: 17.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3987, allocations: 0.5625 kB / 0.5659 GB, free: 17.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.399, allocations: 351.2 kB / 0.5663 GB, free: 16.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.399, allocations: 105.2 kB / 0.5664 GB, free: 16.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.3991, allocations: 4.641 kB / 0.5664 GB, free: 16.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3992, allocations: 9.172 kB / 0.5664 GB, free: 16.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3992, allocations: 11.17 kB / 0.5664 GB, free: 16.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3992, allocations: 11.69 kB / 0.5664 GB, free: 16.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3994, allocations: 173.9 kB / 0.5666 GB, free: 16.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3994, allocations: 0 / 0.5666 GB, free: 16.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.3996, allocations: 79.25 kB / 0.5666 GB, free: 16.6 MB / 394.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 () * 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 8.028e-05/0.3997, allocations: 107.5 kB / 0.5667 GB, free: 16.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4, allocations: 166.4 kB / 0.5669 GB, free: 16.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4, allocations: 0 / 0.5669 GB, free: 16.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.4001, allocations: 78.16 kB / 0.567 GB, free: 16.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.4003, allocations: 36.83 kB / 0.567 GB, free: 16.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.4009, allocations: 463.3 kB / 0.5674 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.4011, allocations: 0.8156 MB / 0.5682 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.087e-05/0.4012, allocations: 20.7 kB / 0.5683 GB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.4012, allocations: 27.38 kB / 0.5683 GB, free: 15.11 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4013, allocations: 0 / 0.5683 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Templates: time 0.004146/0.4054, allocations: 1.669 MB / 0.5699 GB, free: 14.11 MB / 394.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)