Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.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.001969/0.001969, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002402/0.002402, allocations: 207.3 kB / 23.01 MB, free: 4.992 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.111/0.111, allocations: 24.04 MB / 337.2 MB, free: 11.34 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) Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL",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.003158/0.003158, allocations: 71.88 kB / 474.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.375, allocations: 59.57 MB / 0.5217 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.001896/0.3769, allocations: 0.8137 MB / 0.5225 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.3772, allocations: 86.3 kB / 0.5225 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3772, allocations: 1.781 kB / 0.5226 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.3773, allocations: 8.672 kB / 0.5226 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.3775, allocations: 34.41 kB / 0.5226 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.299e-05/0.3776, allocations: 17.41 kB / 0.5226 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3777, allocations: 96.59 kB / 0.5227 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3779, allocations: 20.94 kB / 0.5227 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.378, allocations: 41.94 kB / 0.5228 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3781, allocations: 59.58 kB / 0.5228 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.3781, allocations: 10.19 kB / 0.5228 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.3781, allocations: 10.16 kB / 0.5228 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.3782, allocations: 23.44 kB / 0.5229 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.3782, allocations: 37.17 kB / 0.5229 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.3784, allocations: 91.44 kB / 0.523 GB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3784, allocations: 0.5625 kB / 0.523 GB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3784, allocations: 0 / 0.523 GB, free: 9.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3784, allocations: 1.094 kB / 0.523 GB, free: 9.75 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.0006993/0.3791, allocations: 361.2 kB / 0.5233 GB, free: 9.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3792, allocations: 11.09 kB / 0.5233 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.3792, allocations: 38.3 kB / 0.5234 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.3792, allocations: 11.02 kB / 0.5234 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3794, allocations: 146.6 kB / 0.5235 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3794, allocations: 11.59 kB / 0.5235 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.3794, allocations: 8.75 kB / 0.5235 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3796, allocations: 87.41 kB / 0.5236 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3796, allocations: 5.031 kB / 0.5236 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3796, allocations: 4 kB / 0.5236 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3796, allocations: 2.406 kB / 0.5236 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.3798, allocations: 36.31 kB / 0.5237 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.3803, allocations: 330.8 kB / 0.524 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.3806, allocations: 76.12 kB / 0.5241 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.3807, allocations: 26.66 kB / 0.5241 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3807, allocations: 1.281 kB / 0.5241 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.3808, allocations: 31.97 kB / 0.5241 GB, free: 8.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3808, allocations: 0 / 0.5241 GB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003718/0.3811, allocations: 105.5 kB / 0.5242 GB, free: 8.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3812, allocations: 53.03 kB / 0.5243 GB, free: 8.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3813, allocations: 180 kB / 0.5244 GB, free: 8.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3813, allocations: 30.73 kB / 0.5245 GB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.3814, allocations: 108.7 kB / 0.5246 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3814, allocations: 25.52 kB / 0.5246 GB, free: 8.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.3815, allocations: 26.88 kB / 0.5246 GB, free: 8.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.3815, allocations: 320.8 kB / 0.5249 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.319e-05/0.3816, allocations: 23.95 kB / 0.525 GB, free: 8.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.3817, allocations: 54.95 kB / 0.525 GB, free: 7.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3819, allocations: 89 kB / 0.5251 GB, free: 7.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3819, allocations: 0 / 0.5251 GB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002286/0.3821, allocations: 117.8 kB / 0.5252 GB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3821, allocations: 9.5 kB / 0.5252 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3821, allocations: 1.062 kB / 0.5252 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3821, allocations: 1.125 kB / 0.5252 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.3823, allocations: 29.11 kB / 0.5252 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3823, allocations: 9.25 kB / 0.5253 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3824, allocations: 10.58 kB / 0.5253 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3824, allocations: 8.375 kB / 0.5253 GB, free: 7.805 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 6.143e-05/0.3825, allocations: 115.6 kB / 0.5254 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.3825, allocations: 11.98 kB / 0.5254 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3827, allocations: 100.9 kB / 0.5255 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3827, allocations: 5.547 kB / 0.5255 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3827, allocations: 5.188 kB / 0.5255 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3827, allocations: 0.75 kB / 0.5255 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.3829, allocations: 165.7 kB / 0.5257 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3829, allocations: 0 / 0.5257 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.3831, allocations: 25.17 kB / 0.5257 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3831, allocations: 1.469 kB / 0.5257 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3831, allocations: 0 / 0.5257 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.3831, allocations: 6.078 kB / 0.5257 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3831, allocations: 3.938 kB / 0.5257 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.3834, allocations: 216.7 kB / 0.5259 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3834, allocations: 12.77 kB / 0.5259 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3834, allocations: 9.625 kB / 0.5259 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3835, allocations: 5.984 kB / 0.5259 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.3836, allocations: 9.359 kB / 0.5259 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3836, allocations: 6.844 kB / 0.5259 GB, free: 7.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.874e-05/0.3837, allocations: 129 kB / 0.5261 GB, free: 7.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3837, allocations: 1.125 kB / 0.5261 GB, free: 7.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.3839, allocations: 22.08 kB / 0.5261 GB, free: 7.133 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 (7): * Single equations (assignments): 7 * 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.0004837/0.3844, allocations: 0.7459 MB / 0.5268 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3847, allocations: 69.36 kB / 0.5269 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3847, allocations: 0 / 0.5269 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.3848, allocations: 30.47 kB / 0.5269 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.385, allocations: 10.12 kB / 0.5269 GB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.3872, allocations: 1.785 MB / 0.5287 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.3872, allocations: 89.06 kB / 0.5287 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.3873, allocations: 15.44 kB / 0.5288 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.3874, allocations: 30.36 kB / 0.5288 GB, free: 4.824 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3874, allocations: 0 / 0.5288 GB, free: 4.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.4167, allocations: 3.035 MB / 0.5318 GB, free: 3.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.27, allocations: 3.062 kB / 0.5318 GB, free: 3.93 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_fmu --startTime=0 --stopTime=864000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.09334936598316] Failed to read output from testmodel.py, exit status != 0: 11.381939616985619 11.405425159 11.022155047 Calling exit ...