Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.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.001262/0.001262, allocations: 99.75 kB / 18.95 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.001408/0.001408, allocations: 219.4 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.793 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.1029/0.1029, allocations: 24.13 MB / 336.6 MB, free: 11.23 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_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",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.001936/0.001936, allocations: 71.88 kB / 474 MB, free: 5.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2997, allocations: 59.59 MB / 0.5211 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002766/0.3025, allocations: 2.115 MB / 0.5232 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003223/0.3028, allocations: 174.2 kB / 0.5233 GB, free: 9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.3029, allocations: 3.656 kB / 0.5233 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.394e-05/0.303, allocations: 26.17 kB / 0.5234 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3031, allocations: 64.12 kB / 0.5234 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.3032, allocations: 53.64 kB / 0.5235 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3035, allocations: 241.7 kB / 0.5237 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3036, allocations: 78.02 kB / 0.5238 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.859e-05/0.3037, allocations: 92.41 kB / 0.5239 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3039, allocations: 103.2 kB / 0.524 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.3039, allocations: 21.91 kB / 0.524 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.3039, allocations: 20.25 kB / 0.524 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.304, allocations: 50.12 kB / 0.524 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.304, allocations: 90.78 kB / 0.5241 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3043, allocations: 239.8 kB / 0.5244 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3043, allocations: 0.6562 kB / 0.5244 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3043, allocations: 5.375 kB / 0.5244 GB, free: 8.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3043, allocations: 3.938 kB / 0.5244 GB, free: 8.473 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005498/0.3048, allocations: 416.7 kB / 0.5248 GB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3049, allocations: 11.44 kB / 0.5248 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.3049, allocations: 60.08 kB / 0.5248 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.305, allocations: 24.08 kB / 0.5249 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.3051, allocations: 132.2 kB / 0.525 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3051, allocations: 17.91 kB / 0.525 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.3051, allocations: 28.03 kB / 0.525 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.3054, allocations: 194.2 kB / 0.5252 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3054, allocations: 3.938 kB / 0.5252 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3055, allocations: 10.12 kB / 0.5252 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3055, allocations: 6.812 kB / 0.5252 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.3057, allocations: 147.8 kB / 0.5254 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.3066, allocations: 0.562 MB / 0.5259 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.3069, allocations: 169.7 kB / 0.5261 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.3072, allocations: 125.9 kB / 0.5262 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3072, allocations: 3.344 kB / 0.5262 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.3072, allocations: 38.45 kB / 0.5262 GB, free: 7.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.3072, allocations: 4 kB / 0.5262 GB, free: 7.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00187/0.3091, allocations: 0.5333 MB / 0.5268 GB, free: 7.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.3091, allocations: 53.66 kB / 0.5268 GB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.3092, allocations: 134.2 kB / 0.5269 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3092, allocations: 30.83 kB / 0.527 GB, free: 6.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.3093, allocations: 146.8 kB / 0.5271 GB, free: 6.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.3093, allocations: 77.38 kB / 0.5272 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.3093, allocations: 46.02 kB / 0.5272 GB, free: 6.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.3094, allocations: 318.8 kB / 0.5275 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.3095, allocations: 46.95 kB / 0.5276 GB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-05/0.3096, allocations: 75.86 kB / 0.5277 GB, free: 6.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3097, allocations: 144.2 kB / 0.5278 GB, free: 6.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3097, allocations: 0 / 0.5278 GB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006784/0.3104, allocations: 331.1 kB / 0.5281 GB, free: 5.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3104, allocations: 5.812 kB / 0.5281 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3104, allocations: 1.094 kB / 0.5281 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.3111, allocations: 180.5 kB / 0.5283 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.3111, allocations: 23.19 kB / 0.5283 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.3145, allocations: 3.597 MB / 0.5318 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.3146, allocations: 20.52 kB / 0.5318 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3146, allocations: 5.562 kB / 0.5318 GB, free: 2.75 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 8.343e-05/0.3147, allocations: 133 kB / 0.532 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.3147, allocations: 17.38 kB / 0.532 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006985/0.3154, allocations: 310.8 kB / 0.5323 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3154, allocations: 1.406 kB / 0.5323 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.3154, allocations: 3.938 kB / 0.5323 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3154, allocations: 2.734 kB / 0.5323 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3157, allocations: 233.1 kB / 0.5325 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3157, allocations: 0 / 0.5325 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.3157, allocations: 13.12 kB / 0.5325 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000591/0.3163, allocations: 188.1 kB / 0.5327 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3163, allocations: 0 / 0.5327 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/0.3197, allocations: 3.581 MB / 0.5362 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3197, allocations: 0 / 0.5362 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/0.3205, allocations: 399.8 kB / 0.5366 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.3205, allocations: 14.17 kB / 0.5366 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3205, allocations: 5.156 kB / 0.5366 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.3206, allocations: 1.812 kB / 0.5366 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.3206, allocations: 18.44 kB / 0.5366 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3206, allocations: 3.562 kB / 0.5366 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.172e-05/0.3207, allocations: 108.2 kB / 0.5367 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3207, allocations: 0 / 0.5367 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005315/0.3212, allocations: 81 kB / 0.5368 GB, free: 14.72 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.3224, allocations: 0.9259 MB / 0.5377 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006904/0.3231, allocations: 408 kB / 0.5381 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3231, allocations: 0.8125 kB / 0.5381 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.3236, allocations: 357 kB / 0.5384 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3238, allocations: 14.52 kB / 0.5385 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3253, allocations: 0.5299 MB / 0.539 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.3254, allocations: 126.3 kB / 0.5391 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.3254, allocations: 10.95 kB / 0.5391 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.3255, allocations: 46.08 kB / 0.5391 GB, free: 12.97 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3255, allocations: 0 / 0.5391 GB, free: 12.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.3627, allocations: 5.004 MB / 0.544 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.18, allocations: 1.375 kB / 0.544 GB, free: 11.64 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a.fmu > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.796347691008123] Failed to read output from testmodel.py, exit status != 0: 12.295545394998044 12.311163095 12.003867011 Calling exit ...