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.001425/0.001425, allocations: 172.4 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008622/0.0008621, allocations: 95.47 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1555/0.1555, allocations: 28.82 MB / 360.1 MB, free: 2.223 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 1.036e-05/1.039e-05, allocations: 0 / 423.8 MB, free: 32.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 57.49 MB / 481.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.332/0.4339, allocations: 78.76 MB / 0.5469 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001262/0.434, allocations: 63.28 kB / 0.547 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.4443, allocations: 5.303 MB / 0.5521 GB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4443, allocations: 0 / 0.5521 GB, free: 10.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.4444, allocations: 15.44 kB / 0.5522 GB, free: 10.15 MB / 362.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.0005001/0.4449, allocations: 0.5712 MB / 0.5527 GB, free: 9.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.4449, allocations: 15.42 kB / 0.5527 GB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.445, allocations: 57.92 kB / 0.5528 GB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4452, allocations: 311.2 kB / 0.5531 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4453, allocations: 15.31 kB / 0.5531 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.4453, allocations: 26.75 kB / 0.5531 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002741/0.4456, allocations: 186.5 kB / 0.5533 GB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.446, allocations: 362.8 kB / 0.5536 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.446, allocations: 1.281 kB / 0.5536 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.4461, allocations: 13.11 kB / 0.5537 GB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4461, allocations: 15.31 kB / 0.5537 GB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.4473, allocations: 1.572 MB / 0.5552 GB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.4476, allocations: 166.6 kB / 0.5554 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.4477, allocations: 72.64 kB / 0.5554 GB, free: 8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4477, allocations: 7.703 kB / 0.5554 GB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.4478, allocations: 108.9 kB / 0.5555 GB, free: 7.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.4478, allocations: 0 / 0.5555 GB, free: 7.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.00022/0.4481, allocations: 163.2 kB / 0.5557 GB, free: 7.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.372e-05/0.4481, allocations: 51.41 kB / 0.5557 GB, free: 7.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4482, allocations: 193.1 kB / 0.5559 GB, free: 7.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.4482, allocations: 29.7 kB / 0.556 GB, free: 7.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.4483, allocations: 241.2 kB / 0.5562 GB, free: 7.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.4484, allocations: 77.94 kB / 0.5563 GB, free: 7.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.4484, allocations: 0 / 0.5563 GB, free: 7.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.4484, allocations: 333.5 kB / 0.5566 GB, free: 7.109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.4485, allocations: 55.34 kB / 0.5566 GB, free: 7.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.565e-05/0.4486, allocations: 122.9 kB / 0.5568 GB, free: 7.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.172e-05/0.4487, allocations: 68.05 kB / 0.5568 GB, free: 7.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4487, allocations: 4 kB / 0.5568 GB, free: 7.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002516/0.449, allocations: 227.6 kB / 0.557 GB, free: 6.934 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.449, allocations: 7.719 kB / 0.557 GB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.449, allocations: 0 / 0.557 GB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.449, allocations: 3.844 kB / 0.5571 GB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.4492, allocations: 46.52 kB / 0.5571 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4492, allocations: 8.062 kB / 0.5571 GB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.426e-05/0.4493, allocations: 15.69 kB / 0.5571 GB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.4493, allocations: 15.41 kB / 0.5571 GB, free: 6.91 MB / 362.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.753e-05/0.4494, allocations: 108.9 kB / 0.5572 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.4494, allocations: 27.36 kB / 0.5573 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.4496, allocations: 177.9 kB / 0.5574 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4497, allocations: 0 / 0.5574 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4497, allocations: 0 / 0.5574 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4497, allocations: 7.828 kB / 0.5574 GB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.4501, allocations: 0.5472 MB / 0.558 GB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4501, allocations: 0 / 0.558 GB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.4502, allocations: 35.11 kB / 0.558 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4502, allocations: 7.891 kB / 0.558 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4503, allocations: 3.984 kB / 0.558 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4503, allocations: 3.688 kB / 0.558 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4503, allocations: 0 / 0.558 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.4506, allocations: 338.3 kB / 0.5583 GB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.4506, allocations: 104.5 kB / 0.5584 GB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4506, allocations: 3.953 kB / 0.5584 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.4507, allocations: 0 / 0.5584 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.4508, allocations: 11.67 kB / 0.5585 GB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4508, allocations: 7.719 kB / 0.5585 GB, free: 6.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.434e-05/0.4509, allocations: 142.6 kB / 0.5586 GB, free: 5.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4509, allocations: 0 / 0.5586 GB, free: 5.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.4512, allocations: 70.12 kB / 0.5587 GB, free: 5.965 MB / 362.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.399e-05/0.4513, allocations: 110.6 kB / 0.5588 GB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.4515, allocations: 145.8 kB / 0.5589 GB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4515, allocations: 0 / 0.5589 GB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.4516, allocations: 76.08 kB / 0.559 GB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.4518, allocations: 30.5 kB / 0.559 GB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.4524, allocations: 457.1 kB / 0.5595 GB, free: 5.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.4526, allocations: 0.8098 MB / 0.5602 GB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.4527, allocations: 21.66 kB / 0.5603 GB, free: 4.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.4527, allocations: 18.53 kB / 0.5603 GB, free: 4.809 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4527, allocations: 0 / 0.5603 GB, free: 4.809 MB / 362.7 MB Notification: Performance of Templates: time 0.003351/0.4561, allocations: 1.473 MB / 0.5617 GB, free: 4.09 MB / 362.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)