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.001787/0.001787, allocations: 78.95 kB / 19.76 MB, free: 1.898 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.002137/0.002137, allocations: 160.5 kB / 23.01 MB, free: 4.574 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 178] 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.1909/0.1909, allocations: 21.81 MB / 281.6 MB, free: 10.95 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.002178/0.002178, allocations: 74.7 kB / 418.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3414, allocations: 60.76 MB / 479.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.004535/0.3459, allocations: 1.709 MB / 481.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.3468, allocations: 308.5 kB / 481.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.347, allocations: 13.78 kB / 481.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.3472, allocations: 60.5 kB / 481.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.3474, allocations: 34 kB / 481.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.3478, allocations: 154.8 kB / 481.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000483/0.3482, allocations: 362.6 kB / 482.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.3486, allocations: 200.2 kB / 482.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.3489, allocations: 226.7 kB / 482.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.3491, allocations: 140.6 kB / 482.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.3491, allocations: 38.97 kB / 482.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.3492, allocations: 37.12 kB / 482.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.3493, allocations: 92.34 kB / 482.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.3495, allocations: 149.8 kB / 482.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.35, allocations: 405.3 kB / 483.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.35, allocations: 0 / 483.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.35, allocations: 0 / 483.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.35, allocations: 0 / 483.3 MB, free: 10.12 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.00119/0.3512, allocations: 0.6956 MB / 484 MB, free: 9.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3512, allocations: 13.53 kB / 484 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3513, allocations: 65.38 kB / 484.1 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.3518, allocations: 259.5 kB / 484.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.3519, allocations: 40.28 kB / 484.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.352, allocations: 46.91 kB / 484.5 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.3527, allocations: 441.1 kB / 484.9 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3527, allocations: 1.188 kB / 484.9 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.3527, allocations: 24.72 kB / 484.9 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.3527, allocations: 19.75 kB / 484.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3532, allocations: 229.1 kB / 485.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.3551, allocations: 1.45 MB / 486.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.3555, allocations: 165.5 kB / 486.8 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3556, allocations: 76.81 kB / 486.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.3557, allocations: 4 kB / 486.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.3559, allocations: 119.3 kB / 487 MB, free: 7.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.3559, allocations: 0 / 487 MB, free: 7.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004957/0.3564, allocations: 229.7 kB / 487.2 MB, free: 6.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.3564, allocations: 55.41 kB / 487.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3567, allocations: 229.7 kB / 487.5 MB, free: 6.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3567, allocations: 29.7 kB / 487.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.3569, allocations: 252.2 kB / 487.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.357, allocations: 79.34 kB / 487.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.3571, allocations: 53.98 kB / 487.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3573, allocations: 330.8 kB / 488.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3574, allocations: 64.53 kB / 488.3 MB, free: 5.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3576, allocations: 138.1 kB / 488.4 MB, free: 5.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.3579, allocations: 210.7 kB / 488.6 MB, free: 5.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3579, allocations: 0 / 488.6 MB, free: 5.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004357/0.3584, allocations: 262.7 kB / 488.8 MB, free: 5.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3584, allocations: 4 kB / 488.9 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3584, allocations: 4 kB / 488.9 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3584, allocations: 4 kB / 488.9 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.3586, allocations: 47.86 kB / 488.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3586, allocations: 7.938 kB / 488.9 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3587, allocations: 23.84 kB / 488.9 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.3587, allocations: 16 kB / 489 MB, free: 5.02 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.0001828/0.3589, allocations: 161.9 kB / 489.1 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.359, allocations: 27.8 kB / 489.1 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.3593, allocations: 194.7 kB / 489.3 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3593, allocations: 4 kB / 489.3 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3593, allocations: 0 / 489.3 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3594, allocations: 3.984 kB / 489.3 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.3601, allocations: 0.5097 MB / 489.8 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3601, allocations: 3.938 kB / 489.9 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.3603, allocations: 35.92 kB / 489.9 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3603, allocations: 0 / 489.9 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3603, allocations: 8 kB / 489.9 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3603, allocations: 4 kB / 489.9 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3603, allocations: 0 / 489.9 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.3608, allocations: 366.3 kB / 490.3 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.3608, allocations: 23.83 kB / 490.3 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3609, allocations: 8 kB / 490.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.361, allocations: 0 / 490.3 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.361, allocations: 15.97 kB / 490.3 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.361, allocations: 4 kB / 490.3 MB, free: 3.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.3612, allocations: 161.2 kB / 490.5 MB, free: 3.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3612, allocations: 0 / 490.5 MB, free: 3.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.3615, allocations: 83.56 kB / 490.5 MB, free: 3.363 MB / 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 0.0001321/0.3617, allocations: 99.23 kB / 490.6 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.362, allocations: 155.8 kB / 490.8 MB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.362, allocations: 4 kB / 490.8 MB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3621, allocations: 67.92 kB / 490.9 MB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3625, allocations: 41.73 kB / 490.9 MB, free: 3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3636, allocations: 0.6175 MB / 491.5 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.3638, allocations: 198.8 kB / 491.7 MB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.206e-05/0.3639, allocations: 18.05 kB / 491.7 MB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.3639, allocations: 20.5 kB / 491.8 MB, free: 2.098 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3639, allocations: 3.938 kB / 491.8 MB, free: 2.094 MB / 382.1 MB Notification: Performance of Templates: time 0.005485/0.3694, allocations: 1.552 MB / 493.3 MB, free: 0.5625 MB / 382.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.860060228034854] Failed to read output from testmodel.py, exit status != 0: 0.3782674309331924 0.393713387 0.040575489 Calling exit ...