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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 218 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1703/0.1703, allocations: 29.22 MB / 342.4 MB, free: 5.918 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 479.6 MB, free: 132 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2837, allocations: 60.79 MB / 0.5277 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.00264/0.2864, allocations: 1.953 MB / 0.5297 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005683/0.2869, allocations: 310 kB / 0.5299 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.2871, allocations: 9.438 kB / 0.53 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.2873, allocations: 59.81 kB / 0.53 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.2874, allocations: 34.48 kB / 0.53 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.2877, allocations: 159.4 kB / 0.5302 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.288, allocations: 359.2 kB / 0.5305 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.2883, allocations: 217.1 kB / 0.5307 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.2884, allocations: 143.3 kB / 0.5309 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2886, allocations: 168.6 kB / 0.531 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.2886, allocations: 38.47 kB / 0.5311 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.167e-05/0.2887, allocations: 37.69 kB / 0.5311 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.2887, allocations: 87.88 kB / 0.5312 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2889, allocations: 195.8 kB / 0.5314 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.2892, allocations: 397.2 kB / 0.5318 GB, free: 5.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2892, allocations: 1.219 kB / 0.5318 GB, free: 5.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2892, allocations: 0 / 0.5318 GB, free: 5.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.2892, allocations: 3.938 kB / 0.5318 GB, free: 5.617 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.0008046/0.29, allocations: 0.7017 MB / 0.5325 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2901, allocations: 9.125 kB / 0.5325 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.2901, allocations: 53.8 kB / 0.5325 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.2905, allocations: 268.2 kB / 0.5328 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.2905, allocations: 44.53 kB / 0.5328 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.2906, allocations: 48 kB / 0.5329 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.2911, allocations: 438.5 kB / 0.5333 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2911, allocations: 5.5 kB / 0.5333 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.2911, allocations: 24.11 kB / 0.5333 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2912, allocations: 12.38 kB / 0.5333 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.2915, allocations: 232.9 kB / 0.5335 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.2928, allocations: 1.603 MB / 0.5351 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.2932, allocations: 175.3 kB / 0.5353 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.2933, allocations: 70.59 kB / 0.5353 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.2933, allocations: 3.547 kB / 0.5353 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.2934, allocations: 121.7 kB / 0.5355 GB, free: 3.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.263e-06/0.2934, allocations: 0 / 0.5355 GB, free: 3.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003427/0.2938, allocations: 233.8 kB / 0.5357 GB, free: 2.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.2938, allocations: 54.27 kB / 0.5357 GB, free: 2.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.294, allocations: 257.7 kB / 0.536 GB, free: 2.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.294, allocations: 27.44 kB / 0.536 GB, free: 2.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2941, allocations: 246.4 kB / 0.5362 GB, free: 2.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.2942, allocations: 78.25 kB / 0.5363 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/0.2942, allocations: 58.81 kB / 0.5364 GB, free: 2.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.2943, allocations: 332.6 kB / 0.5367 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.602e-05/0.2944, allocations: 63.95 kB / 0.5368 GB, free: 2.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2945, allocations: 136.9 kB / 0.5369 GB, free: 1.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.2947, allocations: 205.1 kB / 0.5371 GB, free: 1.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2947, allocations: 1.656 kB / 0.5371 GB, free: 1.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003085/0.295, allocations: 271 kB / 0.5373 GB, free: 1.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2951, allocations: 9.406 kB / 0.5373 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2951, allocations: 2.25 kB / 0.5374 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2951, allocations: 4.469 kB / 0.5374 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.2952, allocations: 45.88 kB / 0.5374 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2953, allocations: 4.75 kB / 0.5374 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.2954, allocations: 27.97 kB / 0.5374 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2954, allocations: 13.45 kB / 0.5374 GB, free: 1.586 MB / 382.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.0001008/0.2955, allocations: 155.6 kB / 0.5376 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.2955, allocations: 23.17 kB / 0.5376 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.2958, allocations: 205.1 kB / 0.5378 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2958, allocations: 2.375 kB / 0.5378 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2958, allocations: 0.6562 kB / 0.5378 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2958, allocations: 1.219 kB / 0.5378 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.2963, allocations: 0.5986 MB / 0.5384 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2963, allocations: 3.938 kB / 0.5384 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.2965, allocations: 38.11 kB / 0.5384 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2965, allocations: 1.375 kB / 0.5384 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2965, allocations: 6.172 kB / 0.5384 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2965, allocations: 1.375 kB / 0.5384 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2965, allocations: 0 / 0.5384 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.2968, allocations: 365.6 kB / 0.5388 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2969, allocations: 35.98 kB / 0.5388 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.2969, allocations: 1.375 kB / 0.5388 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.297, allocations: 10.41 kB / 0.5388 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.297, allocations: 12.16 kB / 0.5389 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2971, allocations: 8.922 kB / 0.5389 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.2972, allocations: 179.8 kB / 0.539 GB, free: 0.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2972, allocations: 1.375 kB / 0.539 GB, free: 0.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.2974, allocations: 74.3 kB / 0.5391 GB, free: 480 kB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.645e-05/0.2975, allocations: 99.5 kB / 0.5392 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.2978, allocations: 162.6 kB / 0.5394 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2978, allocations: 1.375 kB / 0.5394 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.2978, allocations: 72.8 kB / 0.5394 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2982, allocations: 46.64 kB / 0.5395 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.299, allocations: 0.6319 MB / 0.5401 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.2994, allocations: 0.8018 MB / 0.5409 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.2995, allocations: 30.83 kB / 0.5409 GB, free: 15.03 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2995, allocations: 0 / 0.5409 GB, free: 15.03 MB / 398.1 MB Notification: Performance of Templates: time 0.005242/0.3047, allocations: 3.34 MB / 0.5442 GB, free: 13.26 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.595677220029756] Failed to read output from testmodel.py, exit status != 0: 0.3124619419686496 0.32642140000000003 0.034374945000000004 Calling exit ...