Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.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.001337/0.001337, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001418/0.001418, allocations: 216.5 kB / 22.25 MB, free: 5.102 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1064/0.1064, allocations: 24.12 MB / 336.6 MB, free: 11.27 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES 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.002001/0.002001, allocations: 67.91 kB / 474 MB, free: 5.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 59.61 MB / 0.5211 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.002006/0.3203, allocations: 0.8194 MB / 0.5219 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002379/0.3205, allocations: 78.7 kB / 0.522 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.3206, allocations: 1.281 kB / 0.522 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.3206, allocations: 9.234 kB / 0.522 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3207, allocations: 29.12 kB / 0.522 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.788e-05/0.3208, allocations: 16.45 kB / 0.522 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.3209, allocations: 97.53 kB / 0.5221 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.321, allocations: 19.83 kB / 0.5221 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.3211, allocations: 45.3 kB / 0.5222 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.008e-05/0.3212, allocations: 60.3 kB / 0.5222 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3212, allocations: 10 kB / 0.5223 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.105e-05/0.3212, allocations: 9.75 kB / 0.5223 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.3213, allocations: 24.09 kB / 0.5223 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.3213, allocations: 29.38 kB / 0.5223 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3214, allocations: 99.7 kB / 0.5224 GB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3214, allocations: 0 / 0.5224 GB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3214, allocations: 0 / 0.5224 GB, free: 9.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3214, allocations: 0 / 0.5224 GB, free: 9.766 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005824/0.322, allocations: 357.2 kB / 0.5228 GB, free: 9.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3221, allocations: 12.02 kB / 0.5228 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.3221, allocations: 37.34 kB / 0.5228 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.3221, allocations: 14.61 kB / 0.5228 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3223, allocations: 149.6 kB / 0.523 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3223, allocations: 7.844 kB / 0.523 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.3223, allocations: 12.53 kB / 0.523 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3225, allocations: 82.97 kB / 0.5231 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3225, allocations: 4.938 kB / 0.5231 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3225, allocations: 4.609 kB / 0.5231 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3225, allocations: 2.031 kB / 0.5231 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.3226, allocations: 38.94 kB / 0.5231 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.3232, allocations: 352.1 kB / 0.5234 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3233, allocations: 43.56 kB / 0.5235 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/0.3234, allocations: 25.27 kB / 0.5235 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3234, allocations: 1.25 kB / 0.5235 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.3234, allocations: 32.25 kB / 0.5235 GB, free: 8.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3234, allocations: 0 / 0.5235 GB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002927/0.3237, allocations: 98.53 kB / 0.5236 GB, free: 8.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3237, allocations: 57.11 kB / 0.5237 GB, free: 8.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3239, allocations: 179.3 kB / 0.5239 GB, free: 8.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.3239, allocations: 25.7 kB / 0.5239 GB, free: 8.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.324, allocations: 117.6 kB / 0.524 GB, free: 8.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.324, allocations: 20.94 kB / 0.524 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.324, allocations: 23.08 kB / 0.524 GB, free: 8.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.3241, allocations: 326 kB / 0.5243 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.3242, allocations: 22.52 kB / 0.5244 GB, free: 8.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.3243, allocations: 63.17 kB / 0.5244 GB, free: 7.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3244, allocations: 90.98 kB / 0.5245 GB, free: 7.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3244, allocations: 0 / 0.5245 GB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002102/0.3246, allocations: 123.4 kB / 0.5246 GB, free: 7.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3246, allocations: 5.25 kB / 0.5246 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3246, allocations: 1.438 kB / 0.5246 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3247, allocations: 3.125 kB / 0.5246 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3248, allocations: 27.98 kB / 0.5247 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3248, allocations: 5.344 kB / 0.5247 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.3249, allocations: 20.73 kB / 0.5247 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3249, allocations: 3.75 kB / 0.5247 GB, free: 7.816 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.312e-05/0.325, allocations: 114.8 kB / 0.5248 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.325, allocations: 14.33 kB / 0.5248 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.325, allocations: 15.39 kB / 0.5248 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.325, allocations: 1.469 kB / 0.5248 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.325, allocations: 0 / 0.5248 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.325, allocations: 6.172 kB / 0.5248 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3252, allocations: 162.1 kB / 0.525 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3252, allocations: 5.25 kB / 0.525 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.3253, allocations: 18.64 kB / 0.525 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3253, allocations: 0 / 0.525 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3253, allocations: 1.438 kB / 0.525 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3253, allocations: 0 / 0.525 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3253, allocations: 5.312 kB / 0.525 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.3255, allocations: 199 kB / 0.5252 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.3256, allocations: 18.8 kB / 0.5252 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3256, allocations: 1.219 kB / 0.5252 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.3257, allocations: 5.375 kB / 0.5252 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.3257, allocations: 12.59 kB / 0.5252 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.3258, allocations: 5.406 kB / 0.5253 GB, free: 7.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.3258, allocations: 133.9 kB / 0.5254 GB, free: 7.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3258, allocations: 0 / 0.5254 GB, free: 7.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.3261, allocations: 17.89 kB / 0.5254 GB, free: 7.215 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (room.Tfloor,room.Tair,room.Twall) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000393/0.3265, allocations: 0.7375 MB / 0.5261 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.3266, allocations: 59.08 kB / 0.5262 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3266, allocations: 1.094 kB / 0.5262 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.3267, allocations: 24 kB / 0.5262 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.3269, allocations: 12.77 kB / 0.5262 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3286, allocations: 1.766 MB / 0.5279 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.837e-05/0.3287, allocations: 87.28 kB / 0.528 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.3287, allocations: 11.17 kB / 0.528 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.3288, allocations: 30.47 kB / 0.5281 GB, free: 4.922 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3288, allocations: 0 / 0.5281 GB, free: 4.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.358, allocations: 2.951 MB / 0.5309 GB, free: 4.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.31, allocations: 6.125 kB / 0.5309 GB, free: 4.016 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.085327715991298] Failed to read output from testmodel.py, exit status != 0: 11.418861682002898 11.442755202 11.1180596 Calling exit ...