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.0007528/0.0007528, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007754/0.0007754, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8744/0.8744, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 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.1128/0.1128, allocations: 21.79 MB / 281.7 MB, free: 7.387 MB / 266.7 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 5.49e-06/5.49e-06, allocations: 3.984 kB / 419 MB, free: 8.949 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.859e-05/5.408e-05, allocations: 4.953 kB / 419 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003071/0.003125, allocations: 1.701 MB / 420.7 MB, free: 7.242 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006996/0.003825, allocations: 310.8 kB / 421 MB, free: 6.938 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.00403, allocations: 11.94 kB / 421 MB, free: 6.926 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.004228, allocations: 63.31 kB / 421 MB, free: 6.863 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.004337, allocations: 31.56 kB / 421.1 MB, free: 6.832 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.004695, allocations: 155.7 kB / 421.2 MB, free: 6.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.00512, allocations: 372.2 kB / 421.6 MB, free: 6.316 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.005471, allocations: 201.2 kB / 421.8 MB, free: 6.117 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.005672, allocations: 211.5 kB / 422 MB, free: 5.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.005836, allocations: 107.6 kB / 422.1 MB, free: 5.805 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.005897, allocations: 36 kB / 422.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.33e-05/0.00594, allocations: 36 kB / 422.2 MB, free: 5.734 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.006021, allocations: 103.6 kB / 422.3 MB, free: 5.633 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.006127, allocations: 103.7 kB / 422.4 MB, free: 5.531 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.006563, allocations: 410.4 kB / 422.8 MB, free: 5.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006567, allocations: 0 / 422.8 MB, free: 5.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.006568, allocations: 0 / 422.8 MB, free: 5.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.006575, allocations: 7.938 kB / 422.8 MB, free: 5.121 MB / 394.7 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.001063/0.007638, allocations: 0.6847 MB / 423.5 MB, free: 4.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.007693, allocations: 12.03 kB / 423.5 MB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.00781, allocations: 60.59 kB / 423.5 MB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.008522, allocations: 264.8 kB / 423.8 MB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.008559, allocations: 37.38 kB / 423.8 MB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.008642, allocations: 48.38 kB / 423.9 MB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.009252, allocations: 436.7 kB / 424.3 MB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.009273, allocations: 4.125 kB / 424.3 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.009307, allocations: 20.38 kB / 424.3 MB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.009322, allocations: 12.38 kB / 424.3 MB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.009598, allocations: 235.7 kB / 424.6 MB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.01088, allocations: 1.451 MB / 426 MB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.01118, allocations: 174.3 kB / 426.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.01126, allocations: 72.83 kB / 426.3 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.01129, allocations: 4 kB / 426.3 MB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.01145, allocations: 115.4 kB / 426.4 MB, free: 1.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.675e-06/0.01146, allocations: 0 / 426.4 MB, free: 1.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003261/0.01178, allocations: 232.7 kB / 426.6 MB, free: 1.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.01182, allocations: 59.34 kB / 426.7 MB, free: 1.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.01197, allocations: 225.7 kB / 426.9 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.01198, allocations: 29.7 kB / 426.9 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.01209, allocations: 248.3 kB / 427.2 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.01213, allocations: 79.33 kB / 427.2 MB, free: 456 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.01219, allocations: 49.98 kB / 427.3 MB, free: 396 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.01228, allocations: 338.8 kB / 427.6 MB, free: 48 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.01236, allocations: 56.62 kB / 427.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01247, allocations: 138.5 kB / 427.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.01266, allocations: 206.3 kB / 428 MB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.01266, allocations: 4 kB / 428 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002476/0.01291, allocations: 261.2 kB / 428.3 MB, free: 15.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01293, allocations: 8.062 kB / 428.3 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.01293, allocations: 7.938 kB / 428.3 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01295, allocations: 4 kB / 428.3 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.01306, allocations: 51.91 kB / 428.3 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.01307, allocations: 4 kB / 428.3 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.01313, allocations: 23.83 kB / 428.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01314, allocations: 12 kB / 428.4 MB, free: 15.22 MB / 410.7 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.0001393/0.01328, allocations: 149.7 kB / 428.5 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.01331, allocations: 27.84 kB / 428.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.01358, allocations: 207.7 kB / 428.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01358, allocations: 3.938 kB / 428.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.01359, allocations: 0 / 428.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01359, allocations: 4 kB / 428.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.014, allocations: 0.5205 MB / 429.3 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.014, allocations: 3.938 kB / 429.3 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.01412, allocations: 35.98 kB / 429.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01412, allocations: 0 / 429.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01413, allocations: 3.938 kB / 429.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01414, allocations: 4 kB / 429.3 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01414, allocations: 0 / 429.3 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.01448, allocations: 359.2 kB / 429.7 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.01451, allocations: 23.8 kB / 429.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.01453, allocations: 11.94 kB / 429.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.01461, allocations: 0 / 429.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.01465, allocations: 16.02 kB / 429.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.01466, allocations: 4 kB / 429.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.33e-05/0.01476, allocations: 161.2 kB / 429.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01476, allocations: 0 / 429.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000199/0.01496, allocations: 79.62 kB / 430 MB, free: 13.56 MB / 410.7 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.0001039/0.01506, allocations: 99.19 kB / 430.1 MB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.01528, allocations: 167.6 kB / 430.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01528, allocations: 0 / 430.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.01535, allocations: 71.92 kB / 430.3 MB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.0156, allocations: 46.12 kB / 430.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.01627, allocations: 0.6241 MB / 431 MB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.01638, allocations: 195.4 kB / 431.2 MB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.01643, allocations: 28.48 kB / 431.2 MB, free: 12.28 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01643, allocations: 0 / 431.2 MB, free: 12.28 MB / 410.7 MB Notification: Performance of Templates: time 0.003826/0.02026, allocations: 3.393 MB / 434.6 MB, free: 8.883 MB / 410.7 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.515287301503122] Failed to read output from testmodel.py, exit status != 0: 0.028172019869089127 0.188798566 0.180388124 Calling exit ...