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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 104.8 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1764/0.1764, allocations: 28.79 MB / 326 MB, free: 15.8 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00187/0.00187, allocations: 63.89 kB / 452.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 56.43 MB / 0.497 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003135/0.1091, allocations: 1.93 MB / 0.4989 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006595/0.1098, allocations: 318.8 kB / 0.4992 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.11, allocations: 8 kB / 0.4992 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.1102, allocations: 63.31 kB / 0.4992 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1103, allocations: 31.56 kB / 0.4993 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1107, allocations: 163.8 kB / 0.4994 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004136/0.1111, allocations: 368.3 kB / 0.4998 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.1115, allocations: 268.9 kB / 0.5 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1116, allocations: 139.4 kB / 0.5002 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1118, allocations: 163 kB / 0.5003 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.1119, allocations: 43.98 kB / 0.5004 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.734e-05/0.1119, allocations: 43.94 kB / 0.5004 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.112, allocations: 99.62 kB / 0.5005 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1122, allocations: 182.9 kB / 0.5007 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.1127, allocations: 406 kB / 0.5011 GB, free: 4.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1127, allocations: 3.938 kB / 0.5011 GB, free: 4.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1127, allocations: 0 / 0.5011 GB, free: 4.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1127, allocations: 0 / 0.5011 GB, free: 4.113 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.001025/0.1138, allocations: 0.6897 MB / 0.5017 GB, free: 3.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1138, allocations: 8.031 kB / 0.5018 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.1139, allocations: 95.66 kB / 0.5018 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.114, allocations: 52.61 kB / 0.5019 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.1145, allocations: 327.5 kB / 0.5022 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.1145, allocations: 41.38 kB / 0.5022 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.1146, allocations: 48.38 kB / 0.5023 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.1152, allocations: 444.7 kB / 0.5027 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1153, allocations: 11.88 kB / 0.5027 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.1153, allocations: 20 kB / 0.5027 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1153, allocations: 12 kB / 0.5028 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.1157, allocations: 235.8 kB / 0.503 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.1175, allocations: 1.674 MB / 0.5046 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.1179, allocations: 178.5 kB / 0.5048 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1838/0.3017, allocations: 77.41 kB / 0.5049 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.3018, allocations: 3.359 kB / 0.5049 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.3021, allocations: 120.9 kB / 0.505 GB, free: 14.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.846e-06/0.3021, allocations: 0 / 0.505 GB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004869/0.3026, allocations: 233.2 kB / 0.5052 GB, free: 14.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.3027, allocations: 58.2 kB / 0.5053 GB, free: 13.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.3029, allocations: 255.4 kB / 0.5055 GB, free: 13.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.303, allocations: 31.88 kB / 0.5055 GB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3031, allocations: 251.1 kB / 0.5058 GB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.3031, allocations: 86.5 kB / 0.5059 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.3032, allocations: 51.08 kB / 0.5059 GB, free: 13.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.3033, allocations: 336.8 kB / 0.5062 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.3034, allocations: 62.06 kB / 0.5063 GB, free: 13.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3035, allocations: 131.7 kB / 0.5064 GB, free: 13.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.3038, allocations: 211.2 kB / 0.5066 GB, free: 13.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3038, allocations: 3.906 kB / 0.5066 GB, free: 13.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000362/0.3042, allocations: 253.6 kB / 0.5069 GB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3042, allocations: 7.469 kB / 0.5069 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3042, allocations: 6.219 kB / 0.5069 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3042, allocations: 7.531 kB / 0.5069 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.3044, allocations: 53.03 kB / 0.5069 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3045, allocations: 5.891 kB / 0.5069 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.3046, allocations: 29.56 kB / 0.507 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.3046, allocations: 10.09 kB / 0.507 GB, free: 13.1 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.0001357/0.3048, allocations: 153.9 kB / 0.5071 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.3048, allocations: 29.58 kB / 0.5071 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.3051, allocations: 198.3 kB / 0.5073 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3052, allocations: 6.625 kB / 0.5073 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3052, allocations: 3.938 kB / 0.5073 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3052, allocations: 3.375 kB / 0.5073 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.3058, allocations: 0.6326 MB / 0.508 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3058, allocations: 0.5938 kB / 0.508 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.306, allocations: 32.7 kB / 0.508 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.306, allocations: 4.875 kB / 0.508 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.306, allocations: 14.55 kB / 0.508 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.306, allocations: 1.531 kB / 0.508 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.306, allocations: 0.875 kB / 0.508 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.3064, allocations: 364.1 kB / 0.5084 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.3065, allocations: 102.2 kB / 0.5085 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3065, allocations: 8.781 kB / 0.5085 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3066, allocations: 9.375 kB / 0.5085 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.3067, allocations: 17.75 kB / 0.5085 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3067, allocations: 4.219 kB / 0.5085 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3068, allocations: 177.1 kB / 0.5087 GB, free: 12.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3068, allocations: 1.688 kB / 0.5087 GB, free: 12.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.3072, allocations: 79.09 kB / 0.5087 GB, free: 12.25 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.0005231/0.3077, allocations: 0.8936 MB / 0.5096 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.308, allocations: 165.9 kB / 0.5098 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.308, allocations: 0 / 0.5098 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.3081, allocations: 75.14 kB / 0.5099 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3085, allocations: 50.61 kB / 0.5099 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.3111, allocations: 2.809 MB / 0.5126 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.3114, allocations: 0.8031 MB / 0.5134 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.52e-05/0.3115, allocations: 21.72 kB / 0.5134 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3117, allocations: 127 kB / 0.5136 GB, free: 9.238 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3117, allocations: 0 / 0.5136 GB, free: 9.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.3411, allocations: 4.973 MB / 0.5184 GB, free: 8.594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.102, allocations: 13.11 kB / 0.5184 GB, free: 8.582 MB / 382.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_res.csv --start-time 0 --stop-time 52 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 SystemDynamics_SystemDynamics_IntroductoryExamples_Influenza_Flu.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.849500062991865] Failed to read output from testmodel.py, exit status != 0: 9.172297618933953 9.200067258 9.082618408 Calling exit ...