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.001345/0.001345, allocations: 109.6 kB / 16.41 MB, free: 6.52 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.001335/0.001335, allocations: 186.7 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1666/0.1666, allocations: 28.79 MB / 320 MB, free: 1.898 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 445 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09472, allocations: 56.42 MB / 0.4896 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003066/0.09782, allocations: 1.925 MB / 0.4915 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.0989, allocations: 326.8 kB / 0.4918 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.09933, allocations: 11.94 kB / 0.4918 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.09966, allocations: 59.33 kB / 0.4919 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.09995, allocations: 35.55 kB / 0.4919 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.1004, allocations: 151.8 kB / 0.4921 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.101, allocations: 368.2 kB / 0.4924 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.1015, allocations: 268.6 kB / 0.4927 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.1016, allocations: 147.3 kB / 0.4928 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.1019, allocations: 167 kB / 0.493 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.449e-05/0.1019, allocations: 40 kB / 0.493 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.731e-05/0.102, allocations: 40 kB / 0.493 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.1021, allocations: 87.69 kB / 0.4931 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1022, allocations: 186.8 kB / 0.4933 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.1026, allocations: 402.3 kB / 0.4937 GB, free: 5.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1027, allocations: 3.984 kB / 0.4937 GB, free: 5.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1027, allocations: 0 / 0.4937 GB, free: 5.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1027, allocations: 0 / 0.4937 GB, free: 5.941 MB / 382.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.00094/0.1036, allocations: 0.6786 MB / 0.4944 GB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.1037, allocations: 8.031 kB / 0.4944 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1038, allocations: 60.22 kB / 0.4944 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.1043, allocations: 307.5 kB / 0.4947 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.1044, allocations: 41.38 kB / 0.4948 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.1045, allocations: 56.22 kB / 0.4948 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.1051, allocations: 432.7 kB / 0.4952 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1051, allocations: 4.188 kB / 0.4952 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.1052, allocations: 31.92 kB / 0.4953 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1052, allocations: 8 kB / 0.4953 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.1056, allocations: 231.8 kB / 0.4955 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.1073, allocations: 1.654 MB / 0.4971 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.1077, allocations: 182.4 kB / 0.4973 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.1079, allocations: 84.77 kB / 0.4974 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1079, allocations: 4 kB / 0.4974 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.1081, allocations: 125.7 kB / 0.4975 GB, free: 1.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.575e-06/0.1081, allocations: 0 / 0.4975 GB, free: 1.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004005/0.1085, allocations: 229.2 kB / 0.4977 GB, free: 1.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1086, allocations: 51.41 kB / 0.4977 GB, free: 1.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.1088, allocations: 254.6 kB / 0.498 GB, free: 1.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1088, allocations: 37.69 kB / 0.498 GB, free: 1.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.109, allocations: 243.9 kB / 0.4983 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.1091, allocations: 74.94 kB / 0.4983 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/0.1092, allocations: 57.88 kB / 0.4984 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1093, allocations: 334.8 kB / 0.4987 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1094, allocations: 60.55 kB / 0.4988 GB, free: 472 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1096, allocations: 142.5 kB / 0.4989 GB, free: 300 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1099, allocations: 204.5 kB / 0.4991 GB, free: 64 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1099, allocations: 0 / 0.4991 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003886/0.1103, allocations: 257.2 kB / 0.4993 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1103, allocations: 8 kB / 0.4993 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1103, allocations: 7.938 kB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1103, allocations: 4 kB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.1105, allocations: 47.91 kB / 0.4994 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1105, allocations: 4 kB / 0.4994 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1107, allocations: 27.69 kB / 0.4994 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1107, allocations: 12 kB / 0.4994 GB, free: 15.7 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.1109, allocations: 157.2 kB / 0.4996 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1109, allocations: 31.66 kB / 0.4996 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.1112, allocations: 198.6 kB / 0.4998 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1112, allocations: 4 kB / 0.4998 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1113, allocations: 0 / 0.4998 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.1113, allocations: 108.7 kB / 0.4999 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1114, allocations: 4 kB / 0.4999 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.1114, allocations: 4 kB / 0.4999 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.1115, allocations: 11.98 kB / 0.4999 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004389/0.1119, allocations: 276.8 kB / 0.5002 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004397/0.1124, allocations: 445.4 kB / 0.5006 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001102/0.1125, allocations: 68.02 kB / 0.5007 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1127, allocations: 178 kB / 0.5009 GB, free: 14.19 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.1127, allocations: 0 / 0.5009 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000501/0.1132, allocations: 200 kB / 0.5011 GB, free: 13.99 MB / 398.1 MB Notification: Performance of SimCode: time 0.001095/0.1143, allocations: 1.061 MB / 0.5021 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Templates: time 0.006018/0.1203, allocations: 2.505 MB / 0.5045 GB, free: 10.39 MB / 398.1 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)