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.0008836/0.0008836, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007903/0.0007903, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9279/0.9279, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.1419/0.1419, allocations: 21.79 MB / 281 MB, free: 7.391 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: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Influenza.Flu,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Influenza_Flu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Influenza.Flu,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Influenza_Flu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 3.868e-06/3.868e-06, allocations: 0 / 417.7 MB, free: 9.445 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.73e-05, allocations: 7.969 kB / 417.7 MB, free: 9.438 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.002263/0.0023, allocations: 1.711 MB / 419.4 MB, free: 7.727 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005914/0.002891, allocations: 318.8 kB / 419.7 MB, free: 7.414 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.003096, allocations: 7.938 kB / 419.7 MB, free: 7.406 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.003319, allocations: 67.25 kB / 419.8 MB, free: 7.34 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.003409, allocations: 27.56 kB / 419.8 MB, free: 7.312 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.003806, allocations: 159.8 kB / 420 MB, free: 7.156 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.00419, allocations: 364.2 kB / 420.3 MB, free: 6.801 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.004555, allocations: 205.2 kB / 420.5 MB, free: 6.598 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.004752, allocations: 211.5 kB / 420.7 MB, free: 6.391 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.004929, allocations: 103.6 kB / 420.8 MB, free: 6.289 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.004982, allocations: 40 kB / 420.9 MB, free: 6.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.205e-05/0.005014, allocations: 36 kB / 420.9 MB, free: 6.215 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.005079, allocations: 99.58 kB / 421 MB, free: 6.117 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.005162, allocations: 107.7 kB / 421.1 MB, free: 6.012 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.005531, allocations: 406.4 kB / 421.5 MB, free: 5.613 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005534, allocations: 0 / 421.5 MB, free: 5.613 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005535, allocations: 0 / 421.5 MB, free: 5.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.005543, allocations: 3.984 kB / 421.5 MB, free: 5.609 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.0008589/0.006402, allocations: 0.6942 MB / 422.2 MB, free: 4.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.00646, allocations: 8.031 kB / 422.2 MB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.006577, allocations: 91.66 kB / 422.3 MB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.00664, allocations: 56.61 kB / 422.4 MB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.00701, allocations: 276.6 kB / 422.6 MB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.007038, allocations: 37.38 kB / 422.7 MB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.007087, allocations: 48.38 kB / 422.7 MB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.007576, allocations: 448.7 kB / 423.2 MB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.007594, allocations: 192 / 423.2 MB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.007623, allocations: 20.38 kB / 423.2 MB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.007638, allocations: 16.12 kB / 423.2 MB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.007916, allocations: 235.8 kB / 423.4 MB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.00928, allocations: 1.532 MB / 425 MB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.009627, allocations: 174.4 kB / 425.1 MB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.009712, allocations: 72.83 kB / 425.2 MB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.009739, allocations: 11.98 kB / 425.2 MB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.009902, allocations: 115.3 kB / 425.3 MB, free: 1.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.664e-06/0.009904, allocations: 0 / 425.3 MB, free: 1.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003453/0.01025, allocations: 232.7 kB / 425.6 MB, free: 1.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.01029, allocations: 55.41 kB / 425.6 MB, free: 1.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.01049, allocations: 257.8 kB / 425.9 MB, free: 1.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.01051, allocations: 33.7 kB / 425.9 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.01065, allocations: 260.3 kB / 426.1 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.01069, allocations: 71.38 kB / 426.2 MB, free: 0.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.01075, allocations: 57.94 kB / 426.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.01087, allocations: 334.8 kB / 426.6 MB, free: 272 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.01095, allocations: 64.47 kB / 426.7 MB, free: 208 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.01106, allocations: 134.5 kB / 426.8 MB, free: 44 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.01128, allocations: 210.5 kB / 427 MB, free: 15.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.01129, allocations: 3.938 kB / 427 MB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002758/0.01156, allocations: 264.9 kB / 427.3 MB, free: 15.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01158, allocations: 8.281 kB / 427.3 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01158, allocations: 4 kB / 427.3 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.0116, allocations: 4 kB / 427.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01171, allocations: 47.92 kB / 427.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.01172, allocations: 4 kB / 427.3 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.01179, allocations: 31.78 kB / 427.4 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.01181, allocations: 8 kB / 427.4 MB, free: 15.43 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.0001292/0.01193, allocations: 157.7 kB / 427.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.01195, allocations: 23.86 kB / 427.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.01221, allocations: 203.8 kB / 427.7 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01221, allocations: 4 kB / 427.7 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.01222, allocations: 0 / 427.7 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01222, allocations: 0 / 427.7 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.01272, allocations: 0.5902 MB / 428.3 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.01273, allocations: 4 kB / 428.3 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.01283, allocations: 31.98 kB / 428.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01284, allocations: 0 / 428.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01285, allocations: 4 kB / 428.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01285, allocations: 0 / 428.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01285, allocations: 3.984 kB / 428.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.01317, allocations: 363.2 kB / 428.7 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.01319, allocations: 23.86 kB / 428.8 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.01321, allocations: 4 kB / 428.8 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.01327, allocations: 8 kB / 428.8 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.01331, allocations: 11.97 kB / 428.8 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01332, allocations: 4 kB / 428.8 MB, free: 13.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01343, allocations: 181.2 kB / 429 MB, free: 13.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01343, allocations: 0 / 429 MB, free: 13.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.01363, allocations: 79.61 kB / 429 MB, free: 13.68 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.0005176/0.01415, allocations: 0.8985 MB / 429.9 MB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.01436, allocations: 163.6 kB / 430.1 MB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01437, allocations: 0 / 430.1 MB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.01444, allocations: 71.91 kB / 430.2 MB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.01469, allocations: 48.36 kB / 430.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.01689, allocations: 2.785 MB / 433 MB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.01703, allocations: 198.8 kB / 433.2 MB, free: 9.344 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.01709, allocations: 26.28 kB / 433.2 MB, free: 9.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.01721, allocations: 124.6 kB / 433.3 MB, free: 9.199 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01721, allocations: 0 / 433.3 MB, free: 9.199 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.03724, allocations: 5.538 MB / 438.9 MB, free: 3.777 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.541/6.578, allocations: 8.062 kB / 438.9 MB, free: 3.77 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Influenza_Flu_fmu --startTime=0 --stopTime=52 --stepSize=0.052 --timeout=50 --tolerance=1e-06 SystemDynamics_SystemDynamics_IntroductoryExamples_Influenza_Flu.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.798013936728239] Failed to read output from testmodel.py, exit status != 0: 6.6599854696542025 6.835631023 6.828728066 Calling exit ...