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.001377/0.001377, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001522/0.001522, allocations: 168.1 kB / 22.46 MB, free: 5.359 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.1912/0.1912, allocations: 21.79 MB / 281 MB, free: 10.86 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: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 418.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.562e-05, allocations: 2.281 kB / 418.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003235/0.003261, allocations: 1.7 MB / 419.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.00418, allocations: 310.8 kB / 420.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.004495, allocations: 7.938 kB / 420.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.004782, allocations: 63.38 kB / 420.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.004989, allocations: 31.5 kB / 420.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.00543, allocations: 159.8 kB / 420.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.00599, allocations: 368.2 kB / 420.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.006386, allocations: 193.2 kB / 421 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.006744, allocations: 211.4 kB / 421.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.006957, allocations: 107.6 kB / 421.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.007024, allocations: 44 kB / 421.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.098e-05/0.007074, allocations: 36 kB / 421.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.00717, allocations: 95.59 kB / 421.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.007289, allocations: 115.6 kB / 421.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.007917, allocations: 406.4 kB / 422 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00792, allocations: 0 / 422 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007921, allocations: 0 / 422 MB, free: 9.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.007933, allocations: 0 / 422 MB, free: 9.699 MB / 350.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.001238/0.009171, allocations: 0.6942 MB / 422.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.009211, allocations: 8.031 kB / 422.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.009337, allocations: 60.59 kB / 422.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.009856, allocations: 260.8 kB / 423 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.009912, allocations: 33.38 kB / 423.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.009985, allocations: 44.38 kB / 423.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.01075, allocations: 452.7 kB / 423.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.01077, allocations: 4.172 kB / 423.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.01082, allocations: 16.38 kB / 423.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.01083, allocations: 12.38 kB / 423.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.01127, allocations: 235.7 kB / 423.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.01342, allocations: 1.451 MB / 425.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.01386, allocations: 166.5 kB / 425.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.01402, allocations: 76.83 kB / 425.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.01405, allocations: 0 / 425.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.01428, allocations: 115.4 kB / 425.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.01429, allocations: 0 / 425.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005129/0.0148, allocations: 237.7 kB / 425.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.01486, allocations: 51.41 kB / 425.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.01513, allocations: 225.7 kB / 426.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.01518, allocations: 33.7 kB / 426.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.01539, allocations: 248.3 kB / 426.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.813e-05/0.01546, allocations: 75.34 kB / 426.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.01556, allocations: 49.98 kB / 426.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.01578, allocations: 334.8 kB / 426.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.01591, allocations: 64.53 kB / 426.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.01613, allocations: 138.1 kB / 427 MB, free: 4.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.01651, allocations: 210.8 kB / 427.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01652, allocations: 4 kB / 427.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005276/0.01704, allocations: 249.2 kB / 427.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.01707, allocations: 11.94 kB / 427.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.01708, allocations: 3.938 kB / 427.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.01711, allocations: 7.984 kB / 427.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.01732, allocations: 51.92 kB / 427.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.01733, allocations: 12.22 kB / 427.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.01747, allocations: 23.78 kB / 427.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.01749, allocations: 8 kB / 427.6 MB, free: 3.797 MB / 350.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.0002409/0.01773, allocations: 156.9 kB / 427.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.01778, allocations: 23.84 kB / 427.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.01818, allocations: 195 kB / 428 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.01819, allocations: 7.938 kB / 428 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01819, allocations: 3.938 kB / 428 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.01821, allocations: 7.969 kB / 428 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/0.01892, allocations: 0.5174 MB / 428.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01893, allocations: 4 kB / 428.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.01912, allocations: 31.92 kB / 428.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.01913, allocations: 4 kB / 428.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.01915, allocations: 7.938 kB / 428.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01916, allocations: 0 / 428.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01916, allocations: 0 / 428.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.0197, allocations: 355.1 kB / 428.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.01975, allocations: 27.8 kB / 428.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.01978, allocations: 11.94 kB / 428.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.0199, allocations: 12.03 kB / 428.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.01995, allocations: 7.984 kB / 428.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.01997, allocations: 12 kB / 429 MB, free: 2.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.02013, allocations: 157.2 kB / 429.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02013, allocations: 0 / 429.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.0205, allocations: 75.67 kB / 429.2 MB, free: 2.145 MB / 350.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.0001484/0.02065, allocations: 103.2 kB / 429.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.02099, allocations: 155.8 kB / 429.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02099, allocations: 0.5625 kB / 429.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.02112, allocations: 75.92 kB / 429.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.02151, allocations: 43.66 kB / 429.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.02268, allocations: 0.6026 MB / 430.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.02291, allocations: 194.8 kB / 430.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.296e-05/0.02299, allocations: 13.95 kB / 430.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.02305, allocations: 24.5 kB / 430.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.02305, allocations: 0 / 430.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of Templates: time 0.005811/0.02886, allocations: 1.554 MB / 431.9 MB, free: 15.35 MB / 366.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: 4.458642695099115] Failed to read output from testmodel.py, exit status != 0: 0.03807932510972023 0.053655609 0.042621273 Calling exit ...