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.001349/0.001349, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001581/0.001581, allocations: 212.1 kB / 22.25 MB, free: 5.133 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 8.02 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.1061/0.1061, allocations: 24.13 MB / 336.6 MB, free: 11.47 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.003158/0.003158, allocations: 67.91 kB / 474.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3754, allocations: 59.59 MB / 0.5212 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.002044/0.3775, allocations: 0.8661 MB / 0.522 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.3777, allocations: 74.61 kB / 0.5221 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.3778, allocations: 3.938 kB / 0.5221 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.3778, allocations: 10.42 kB / 0.5221 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.378, allocations: 27.66 kB / 0.5221 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.3781, allocations: 18.48 kB / 0.5222 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3782, allocations: 96.67 kB / 0.5223 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3783, allocations: 23.45 kB / 0.5223 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.3784, allocations: 41.98 kB / 0.5223 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3785, allocations: 59.7 kB / 0.5224 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.3785, allocations: 9.812 kB / 0.5224 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.3785, allocations: 10.56 kB / 0.5224 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.3786, allocations: 19.33 kB / 0.5224 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.3786, allocations: 45.03 kB / 0.5225 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.3788, allocations: 93.83 kB / 0.5225 GB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3788, allocations: 1.344 kB / 0.5225 GB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3788, allocations: 0 / 0.5225 GB, free: 9.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3788, allocations: 0 / 0.5225 GB, free: 9.805 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.0006827/0.3795, allocations: 357.2 kB / 0.5229 GB, free: 9.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3795, allocations: 10.92 kB / 0.5229 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.3796, allocations: 38.88 kB / 0.5229 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3796, allocations: 13.2 kB / 0.523 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3797, allocations: 149.2 kB / 0.5231 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3798, allocations: 7.781 kB / 0.5231 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3798, allocations: 5.172 kB / 0.5231 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.38, allocations: 84.23 kB / 0.5232 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.38, allocations: 3.938 kB / 0.5232 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.38, allocations: 4.969 kB / 0.5232 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.38, allocations: 5.859 kB / 0.5232 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3801, allocations: 39.08 kB / 0.5232 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.3808, allocations: 368.6 kB / 0.5236 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.3809, allocations: 47.7 kB / 0.5236 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.381, allocations: 30.52 kB / 0.5237 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.381, allocations: 1.094 kB / 0.5237 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.381, allocations: 35.62 kB / 0.5237 GB, free: 8.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.381, allocations: 0 / 0.5237 GB, free: 8.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003034/0.3813, allocations: 97.28 kB / 0.5238 GB, free: 8.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.3813, allocations: 52.84 kB / 0.5238 GB, free: 8.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3815, allocations: 174.1 kB / 0.524 GB, free: 8.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3815, allocations: 33.7 kB / 0.524 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.3816, allocations: 116.2 kB / 0.5241 GB, free: 8.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.3816, allocations: 18.3 kB / 0.5242 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.3816, allocations: 27.3 kB / 0.5242 GB, free: 8.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.3817, allocations: 320.5 kB / 0.5245 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.3818, allocations: 27.17 kB / 0.5245 GB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.3818, allocations: 63.11 kB / 0.5246 GB, free: 8.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.382, allocations: 94.39 kB / 0.5247 GB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.382, allocations: 0 / 0.5247 GB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002147/0.3822, allocations: 122.3 kB / 0.5248 GB, free: 7.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3822, allocations: 5.594 kB / 0.5248 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3822, allocations: 1.031 kB / 0.5248 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3822, allocations: 2.188 kB / 0.5248 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3824, allocations: 24.98 kB / 0.5248 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3824, allocations: 9 kB / 0.5248 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.788e-05/0.3825, allocations: 21.67 kB / 0.5249 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3825, allocations: 3.469 kB / 0.5249 GB, free: 7.84 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 6.364e-05/0.3826, allocations: 119.6 kB / 0.525 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.3826, allocations: 7.641 kB / 0.525 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.3826, allocations: 16.45 kB / 0.525 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3826, allocations: 2.781 kB / 0.525 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3826, allocations: 0 / 0.525 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3826, allocations: 3.938 kB / 0.525 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.3828, allocations: 171.3 kB / 0.5252 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3828, allocations: 1.406 kB / 0.5252 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3829, allocations: 16.88 kB / 0.5252 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3829, allocations: 4 kB / 0.5252 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3829, allocations: 1.062 kB / 0.5252 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3829, allocations: 1.156 kB / 0.5252 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3829, allocations: 0 / 0.5252 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3832, allocations: 208.8 kB / 0.5254 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.3832, allocations: 11.08 kB / 0.5254 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3832, allocations: 3.656 kB / 0.5254 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3833, allocations: 5 kB / 0.5254 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3834, allocations: 14.34 kB / 0.5254 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3834, allocations: 1.344 kB / 0.5254 GB, free: 7.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.3834, allocations: 133.5 kB / 0.5255 GB, free: 7.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3834, allocations: 0 / 0.5255 GB, free: 7.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.3837, allocations: 17.62 kB / 0.5256 GB, free: 7.246 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.0003972/0.3841, allocations: 0.7424 MB / 0.5263 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.3843, allocations: 55.42 kB / 0.5263 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3843, allocations: 0 / 0.5263 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.3843, allocations: 25.94 kB / 0.5264 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3846, allocations: 13.5 kB / 0.5264 GB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3865, allocations: 1.778 MB / 0.5281 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.3866, allocations: 0.6992 MB / 0.5288 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.502e-05/0.3866, allocations: 9.219 kB / 0.5288 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.3867, allocations: 31.39 kB / 0.5288 GB, free: 4.309 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3867, allocations: 0 / 0.5288 GB, free: 4.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.4169, allocations: 2.518 MB / 0.5313 GB, free: 3.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.26, allocations: 1.25 kB / 0.5313 GB, free: 3.859 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps_fmu --startTime=0 --stopTime=864000 --stepSize=1 --timeout=50 --tolerance=1e-06 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: 20.772823091130704] Failed to read output from testmodel.py, exit status != 0: 11.361526264809072 11.374124486 10.992397121 Calling exit ...