Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_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.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001326/0.001326, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.89 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.6406, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1767/0.8173, allocations: 191.6 MB / 1.204 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009824/0.8271, allocations: 5.192 MB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.8286, allocations: 43.69 kB / 1.209 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.8303, allocations: 0.7116 MB / 1.21 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.8354, allocations: 2.444 MB / 1.212 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.8376, allocations: 1.008 MB / 1.213 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.8409, allocations: 3.53 MB / 1.216 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.8419, allocations: 0.8249 MB / 1.217 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.8434, allocations: 0.9998 MB / 1.218 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.8444, allocations: 0.9962 MB / 1.219 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.8445, allocations: 52 kB / 1.219 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.8476, allocations: 2.061 MB / 1.221 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.848, allocations: 422.5 kB / 1.222 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.8486, allocations: 0.6254 MB / 1.222 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.851, allocations: 2.227 MB / 1.224 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.851, allocations: 4 kB / 1.224 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.31e-07/0.851, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.8511, allocations: 0 / 1.224 GB, free: 13.33 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.004516/0.8556, allocations: 1.918 MB / 1.226 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8556, allocations: 12.03 kB / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.8558, allocations: 143.4 kB / 1.226 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004114/0.8599, allocations: 0.7005 MB / 1.227 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.8611, allocations: 0.8941 MB / 1.228 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.8612, allocations: 73.97 kB / 1.228 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.8613, allocations: 84 kB / 1.228 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.8642, allocations: 1.465 MB / 1.23 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.8642, allocations: 0 / 1.23 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.8643, allocations: 39.98 kB / 1.23 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.8644, allocations: 45.98 kB / 1.23 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.8682, allocations: 1.561 MB / 1.231 GB, free: 6.215 MB / 0.9825 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.005825/0.874, allocations: 5.022 MB / 1.236 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.8773, allocations: 1.187 MB / 1.237 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.8789, allocations: 0.67 MB / 1.238 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.8802, allocations: 0.941 MB / 1.239 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.882, allocations: 0.7225 MB / 1.24 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.945e-06/0.882, allocations: 0 / 1.24 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.005694/0.8877, allocations: 1.956 MB / 1.241 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.8878, allocations: 60.06 kB / 1.242 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.8891, allocations: 1.263 MB / 1.243 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-05/0.8892, allocations: 53.69 kB / 1.243 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.8896, allocations: 0.5677 MB / 1.243 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.8899, allocations: 280 kB / 1.244 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.8902, allocations: 186.5 kB / 1.244 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8903, allocations: 349.9 kB / 1.244 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.8918, allocations: 0.5406 MB / 1.245 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.8935, allocations: 0.8247 MB / 1.245 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.8965, allocations: 1.34 MB / 1.247 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.8965, allocations: 4 kB / 1.247 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003624/0.9002, allocations: 1.519 MB / 1.248 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9002, allocations: 12.12 kB / 1.248 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.9002, allocations: 8 kB / 1.248 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.9002, allocations: 12 kB / 1.248 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.9016, allocations: 291.5 kB / 1.249 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.9016, allocations: 19.92 kB / 1.249 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.903, allocations: 214.7 kB / 1.249 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.9031, allocations: 55.97 kB / 1.249 GB, free: 3.418 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.0004734/0.9036, allocations: 331.7 kB / 1.249 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.9037, allocations: 138.3 kB / 1.249 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.9073, allocations: 1.444 MB / 1.251 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.9073, allocations: 8 kB / 1.251 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.9074, allocations: 4 kB / 1.251 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.9074, allocations: 7.922 kB / 1.251 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4327/1.34, allocations: 2.861 MB / 1.254 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.34, allocations: 4.281 kB / 1.254 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.341, allocations: 226.1 kB / 1.254 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/1.341, allocations: 11.06 kB / 1.254 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/1.342, allocations: 29.89 kB / 1.254 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/1.342, allocations: 8.297 kB / 1.254 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/1.342, allocations: 8.25 kB / 1.254 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/1.347, allocations: 2.307 MB / 1.256 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/1.348, allocations: 305.5 kB / 1.256 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.348, allocations: 19.89 kB / 1.256 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.349, allocations: 121.8 kB / 1.256 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.349, allocations: 66.27 kB / 1.257 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/1.349, allocations: 39.14 kB / 1.257 GB, free: 233 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001237/1.351, allocations: 0.8713 MB / 1.257 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.351, allocations: 0 / 1.257 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001019/1.352, allocations: 325.8 kB / 1.258 GB, free: 232.6 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.006678/1.358, allocations: 3.285 MB / 1.261 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003956/1.362, allocations: 1.306 MB / 1.262 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.362, allocations: 0.5938 kB / 1.262 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/1.364, allocations: 0.6646 MB / 1.263 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/1.367, allocations: 0.592 MB / 1.263 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.387, allocations: 12.31 MB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/1.387, allocations: 1.175 MB / 1.277 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001599/1.389, allocations: 357.2 kB / 1.277 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/1.39, allocations: 498.6 kB / 1.277 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/1.39, allocations: 0 / 1.277 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4328/1.823, allocations: 33.45 MB / 1.31 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/1.823, allocations: 260.4 kB / 1.31 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.716, allocations: 4.062 kB / 1.31 GB, free: 193.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)