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.001693/0.001693, allocations: 111.5 kB / 16.42 MB, free: 6.441 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.001567/0.001567, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1935/0.1935, allocations: 28.77 MB / 320 MB, free: 1.914 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 445 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1147, allocations: 56.43 MB / 0.4896 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003267/0.118, allocations: 1.925 MB / 0.4915 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.1188, allocations: 326.8 kB / 0.4918 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.1191, allocations: 4 kB / 0.4918 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.1193, allocations: 55.33 kB / 0.4919 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1195, allocations: 43.55 kB / 0.4919 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.1198, allocations: 159.8 kB / 0.4921 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.1203, allocations: 368.2 kB / 0.4924 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.1207, allocations: 264.6 kB / 0.4927 GB, free: 7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1209, allocations: 143.4 kB / 0.4928 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.1211, allocations: 171 kB / 0.493 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.1212, allocations: 40 kB / 0.493 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.1212, allocations: 36 kB / 0.493 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.1213, allocations: 91.62 kB / 0.4931 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1214, allocations: 190.8 kB / 0.4933 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1218, allocations: 402.3 kB / 0.4937 GB, free: 5.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1219, allocations: 3.984 kB / 0.4937 GB, free: 5.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1219, allocations: 4 kB / 0.4937 GB, free: 5.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.1219, allocations: 0 / 0.4937 GB, free: 5.938 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.000969/0.1229, allocations: 0.6748 MB / 0.4944 GB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1229, allocations: 11.97 kB / 0.4944 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.123, allocations: 60.28 kB / 0.4944 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1235, allocations: 315.5 kB / 0.4947 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.1235, allocations: 33.38 kB / 0.4948 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.1236, allocations: 52.28 kB / 0.4948 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.1242, allocations: 440.7 kB / 0.4952 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.1243, allocations: 8.125 kB / 0.4952 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.1243, allocations: 23.92 kB / 0.4953 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1243, allocations: 12 kB / 0.4953 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.1248, allocations: 227.8 kB / 0.4955 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.1266, allocations: 1.654 MB / 0.4971 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.127, allocations: 178.4 kB / 0.4973 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1271, allocations: 76.84 kB / 0.4974 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1271, allocations: 0 / 0.4974 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.1273, allocations: 125.4 kB / 0.4975 GB, free: 1.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.1274, allocations: 0 / 0.4975 GB, free: 1.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004077/0.1278, allocations: 225.3 kB / 0.4977 GB, free: 1.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.1278, allocations: 55.34 kB / 0.4977 GB, free: 1.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1281, allocations: 254.6 kB / 0.498 GB, free: 1.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1281, allocations: 37.69 kB / 0.498 GB, free: 1.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.1282, allocations: 239.9 kB / 0.4982 GB, free: 1.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.1283, allocations: 74.94 kB / 0.4983 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.1284, allocations: 57.88 kB / 0.4984 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1286, allocations: 338.8 kB / 0.4987 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1287, allocations: 60.55 kB / 0.4988 GB, free: 484 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1289, allocations: 134.5 kB / 0.4989 GB, free: 320 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.1291, allocations: 210.9 kB / 0.4991 GB, free: 80 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1291, allocations: 0 / 0.4991 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004059/0.1296, allocations: 268.4 kB / 0.4993 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1296, allocations: 4 kB / 0.4993 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1296, allocations: 7.938 kB / 0.4994 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1296, allocations: 7.938 kB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1298, allocations: 48.19 kB / 0.4994 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.1298, allocations: 8 kB / 0.4994 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.13, allocations: 23.75 kB / 0.4994 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.13, 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.0001591/0.1302, allocations: 157.3 kB / 0.4996 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.1302, allocations: 27.66 kB / 0.4996 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.1306, allocations: 206.7 kB / 0.4998 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1306, allocations: 0 / 0.4998 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1306, allocations: 0 / 0.4998 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.1307, allocations: 116.7 kB / 0.4999 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1307, allocations: 0 / 0.4999 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.1308, allocations: 4 kB / 0.4999 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1308, allocations: 15.98 kB / 0.5 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004577/0.1313, allocations: 264.8 kB / 0.5002 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004881/0.1318, allocations: 453 kB / 0.5006 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001059/0.1319, allocations: 72.02 kB / 0.5007 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1321, allocations: 178 kB / 0.5009 GB, free: 14.19 MB / 398.1 MB Notification: Performance of Backend: time 5.31e-07/0.1321, allocations: 0 / 0.5009 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005417/0.1326, allocations: 190.2 kB / 0.5011 GB, free: 14 MB / 398.1 MB Notification: Performance of SimCode: time 0.001234/0.1339, allocations: 1.058 MB / 0.5021 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Templates: time 0.00593/0.1398, allocations: 2.514 MB / 0.5045 GB, free: 10.38 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)