Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009279/0.009279, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.73/2.73, allocations: 443.4 MB / 0.7176 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003642, allocations: 12.5 kB / 0.8797 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2991, allocations: 155.2 MB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2092/0.5084, allocations: 189 MB / 1.216 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009406/0.5178, allocations: 5.139 MB / 1.221 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.5196, allocations: 39.69 kB / 1.221 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.5215, allocations: 0.7155 MB / 1.222 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006829/0.5284, allocations: 2.444 MB / 1.224 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.5313, allocations: 1.006 MB / 1.225 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00451/0.5358, allocations: 3.526 MB / 1.228 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.5373, allocations: 0.8032 MB / 1.229 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.5395, allocations: 0.9959 MB / 1.23 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.5411, allocations: 0.9767 MB / 1.231 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.5412, allocations: 52 kB / 1.231 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.5451, allocations: 2.065 MB / 1.233 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005288/0.5456, allocations: 406.6 kB / 1.234 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000772/0.5464, allocations: 0.6309 MB / 1.234 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003827/0.5502, allocations: 2.208 MB / 1.236 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5502, allocations: 0 / 1.236 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5503, allocations: 7.875 kB / 1.236 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.5503, allocations: 0 / 1.236 GB, free: 1.43 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00499/0.5553, allocations: 1.669 MB / 1.238 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.5553, allocations: 8.031 kB / 1.238 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.5556, allocations: 143.5 kB / 1.238 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.5602, allocations: 0.7435 MB / 1.239 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.5617, allocations: 0.8942 MB / 1.24 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.5618, allocations: 66 kB / 1.24 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.562, allocations: 84 kB / 1.24 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.5652, allocations: 1.48 MB / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5653, allocations: 4 kB / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.5654, allocations: 43.97 kB / 1.241 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.847e-05/0.5655, allocations: 45.98 kB / 1.241 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0043/0.5698, allocations: 1.585 MB / 1.243 GB, free: 10.49 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00696/0.5768, allocations: 5.053 MB / 1.248 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.5803, allocations: 1.235 MB / 1.249 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.5821, allocations: 0.6785 MB / 1.25 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/0.5835, allocations: 0.9527 MB / 1.251 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/0.5854, allocations: 0.7381 MB / 1.251 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/0.5855, allocations: 4 kB / 1.251 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.553/1.138, allocations: 1.982 MB / 1.253 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/1.139, allocations: 65.94 kB / 1.253 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/1.14, allocations: 1.263 MB / 1.255 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.14, allocations: 42 kB / 1.255 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/1.141, allocations: 0.5733 MB / 1.255 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/1.141, allocations: 285.1 kB / 1.256 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.141, allocations: 82.28 kB / 1.256 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/1.141, allocations: 343.5 kB / 1.256 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/1.143, allocations: 0.5679 MB / 1.256 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/1.145, allocations: 0.8245 MB / 1.257 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003777/1.149, allocations: 1.365 MB / 1.259 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1.149, allocations: 2.094 kB / 1.259 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004635/1.153, allocations: 1.539 MB / 1.26 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/1.153, allocations: 10.42 kB / 1.26 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.153, allocations: 6.469 kB / 1.26 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/1.153, allocations: 11.66 kB / 1.26 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.155, allocations: 302.7 kB / 1.26 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/1.155, allocations: 13.41 kB / 1.26 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.157, allocations: 224.5 kB / 1.261 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.157, allocations: 49.75 kB / 1.261 GB, free: 219.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0006075/1.157, allocations: 345.4 kB / 1.261 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/1.158, allocations: 139 kB / 1.261 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/1.162, allocations: 1.472 MB / 1.263 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.162, allocations: 9 kB / 1.263 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.162, allocations: 0 / 1.263 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.162, allocations: 4.359 kB / 1.263 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006589/1.169, allocations: 2.88 MB / 1.265 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.169, allocations: 3.969 kB / 1.265 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.171, allocations: 238.1 kB / 1.266 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/1.171, allocations: 6.812 kB / 1.266 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.219e-05/1.171, allocations: 27.19 kB / 1.266 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.807e-05/1.171, allocations: 8.859 kB / 1.266 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.171, allocations: 8.188 kB / 1.266 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006603/1.177, allocations: 2.342 MB / 1.268 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006429/1.178, allocations: 318 kB / 1.268 GB, free: 217 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/1.178, allocations: 24.16 kB / 1.268 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.179, allocations: 132.1 kB / 1.268 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/1.18, allocations: 68.3 kB / 1.269 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/1.18, allocations: 35.59 kB / 1.269 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001288/1.181, allocations: 0.8744 MB / 1.269 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.181, allocations: 0 / 1.269 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001325/1.182, allocations: 318.3 kB / 1.27 GB, free: 216.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.007486/1.19, allocations: 3.322 MB / 1.273 GB, free: 215 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004013/1.194, allocations: 1.326 MB / 1.274 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.194, allocations: 1.062 kB / 1.274 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/1.196, allocations: 0.6701 MB / 1.275 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.2, allocations: 0.5969 MB / 1.275 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/1.221, allocations: 12.44 MB / 1.288 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/1.222, allocations: 1.177 MB / 1.289 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001639/1.223, allocations: 359.2 kB / 1.289 GB, free: 206.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006465/1.224, allocations: 495.6 kB / 1.29 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.224, allocations: 0 / 1.29 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04614/1.27, allocations: 33.03 MB / 1.322 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/1.27, allocations: 269.9 kB / 1.322 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/4.075, allocations: 1.562 kB / 1.322 GB, free: 173.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)