Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.001828/0.001828, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.003194/0.003194, allocations: 192 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.732/3.732, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.923/5.923, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 64.66 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7308, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5447/1.276, allocations: 191.3 MB / 1.239 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01771/1.293, allocations: 5.136 MB / 1.244 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/1.297, allocations: 47.62 kB / 1.244 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004516/1.302, allocations: 0.7273 MB / 1.245 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01459/1.317, allocations: 2.444 MB / 1.247 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 1.738/3.055, allocations: 1.006 MB / 1.248 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01075/3.066, allocations: 2.694 MB / 1.251 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/3.07, allocations: 0.9465 MB / 1.252 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/3.075, allocations: 1.128 MB / 1.253 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004604/3.08, allocations: 1.05 MB / 1.254 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006092/3.08, allocations: 87.5 kB / 1.254 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009316/3.09, allocations: 1.86 MB / 1.256 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002288/3.092, allocations: 457 kB / 1.256 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003164/3.095, allocations: 0.6668 MB / 1.257 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/3.107, allocations: 2.302 MB / 1.259 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/3.107, allocations: 3.562 kB / 1.259 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.909e-06/3.107, allocations: 0 / 1.259 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001032/3.107, allocations: 1.125 kB / 1.259 GB, free: 4.211 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01384/3.121, allocations: 1.963 MB / 1.261 GB, free: 19.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 9.972e-05/3.121, allocations: 9.438 kB / 1.261 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004475/3.121, allocations: 140.7 kB / 1.261 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/3.133, allocations: 0.8925 MB / 1.262 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006391/3.14, allocations: 0.9031 MB / 1.263 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/3.14, allocations: 71.91 kB / 1.263 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007584/3.141, allocations: 94.81 kB / 1.263 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/3.153, allocations: 1.585 MB / 1.265 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.908e-05/3.153, allocations: 0.875 kB / 1.265 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/3.153, allocations: 36.28 kB / 1.265 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/3.153, allocations: 48.7 kB / 1.265 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/3.167, allocations: 1.85 MB / 1.267 GB, free: 18.63 MB / 1.014 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.02037/3.187, allocations: 4.731 MB / 1.271 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/3.2, allocations: 1.575 MB / 1.273 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004361/3.205, allocations: 0.8519 MB / 1.274 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006499/3.211, allocations: 0.9422 MB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005488/3.217, allocations: 0.9166 MB / 1.276 GB, free: 15.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 8.636e-06/3.217, allocations: 0 / 1.276 GB, free: 15.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.01484/3.232, allocations: 2.458 MB / 1.278 GB, free: 15.63 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/3.232, allocations: 65.48 kB / 1.278 GB, free: 15.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/3.235, allocations: 1.197 MB / 1.279 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005422/3.236, allocations: 46.02 kB / 1.279 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008699/3.237, allocations: 0.5399 MB / 1.28 GB, free: 15.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008781/3.238, allocations: 327.9 kB / 1.28 GB, free: 15.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000712/3.238, allocations: 192.2 kB / 1.28 GB, free: 15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002718/3.239, allocations: 342.6 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003793/3.243, allocations: 0.6955 MB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004129/3.247, allocations: 0.9086 MB / 1.282 GB, free: 14.51 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007501/3.254, allocations: 1.556 MB / 1.284 GB, free: 14.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/3.254, allocations: 1.656 kB / 1.284 GB, free: 14.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009661/3.264, allocations: 1.779 MB / 1.285 GB, free: 14.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/3.264, allocations: 6.75 kB / 1.285 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/3.264, allocations: 5.5 kB / 1.285 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.302e-05/3.264, allocations: 8.562 kB / 1.285 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/3.267, allocations: 344.6 kB / 1.286 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.878e-05/3.267, allocations: 11.19 kB / 1.286 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/3.271, allocations: 256.8 kB / 1.286 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003846/3.272, allocations: 44.8 kB / 1.286 GB, free: 14.07 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.001534/3.273, allocations: 336.4 kB / 1.286 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008665/3.274, allocations: 138.6 kB / 1.286 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/3.285, allocations: 1.806 MB / 1.288 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/3.285, allocations: 10.58 kB / 1.288 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/3.285, allocations: 0 / 1.288 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/3.285, allocations: 6.094 kB / 1.288 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/3.305, allocations: 3.325 MB / 1.291 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.973e-05/3.305, allocations: 7.75 kB / 1.291 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007683/3.312, allocations: 293 kB / 1.292 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.004e-05/3.312, allocations: 9.938 kB / 1.292 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004769/3.313, allocations: 32.64 kB / 1.292 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.764e-05/3.313, allocations: 15.14 kB / 1.292 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-05/3.313, allocations: 7.688 kB / 1.292 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/3.332, allocations: 2.839 MB / 1.295 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006252/3.338, allocations: 328.3 kB / 1.295 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/3.339, allocations: 28.08 kB / 1.295 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/3.342, allocations: 173.1 kB / 1.295 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/3.343, allocations: 73.06 kB / 1.295 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003721/3.343, allocations: 41.77 kB / 1.295 GB, free: 12.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002811/3.346, allocations: 0.8335 MB / 1.296 GB, free: 12.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.62e-07/3.346, allocations: 0 / 1.296 GB, free: 12.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.007509/3.354, allocations: 342.7 kB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * 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.02156/3.375, allocations: 3.827 MB / 1.3 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0139/3.389, allocations: 1.784 MB / 1.302 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/3.389, allocations: 0 / 1.302 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/3.394, allocations: 0.8407 MB / 1.303 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00708/3.401, allocations: 0.6136 MB / 1.303 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06338/3.464, allocations: 13.24 MB / 1.316 GB, free: 6.445 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/3.466, allocations: 1.186 MB / 1.317 GB, free: 5.723 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004067/3.471, allocations: 366.4 kB / 1.318 GB, free: 5.625 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/3.472, allocations: 0.5022 MB / 1.318 GB, free: 5.621 MB / 1.014 GB Notification: Performance of SimCode: time 2.825e-06/3.472, allocations: 0 / 1.318 GB, free: 5.621 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2327/3.705, allocations: 35.01 MB / 1.352 GB, free: 3.48 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003826/3.706, allocations: 254.3 kB / 1.353 GB, free: 3.223 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/11.2, allocations: 3.5 kB / 1.353 GB, free: 3.223 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)