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.001696/0.001696, 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.002019/0.002019, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.89 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3115, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2093/0.5209, allocations: 191.6 MB / 1.239 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.5328, allocations: 5.193 MB / 1.244 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.5351, allocations: 43.69 kB / 1.244 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.5376, allocations: 0.7155 MB / 1.245 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6632/1.201, allocations: 2.438 MB / 1.247 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/1.204, allocations: 1 MB / 1.248 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004137/1.208, allocations: 3.537 MB / 1.252 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/1.209, allocations: 0.813 MB / 1.253 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/1.211, allocations: 1.001 MB / 1.254 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/1.213, allocations: 1.002 MB / 1.255 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/1.213, allocations: 55.72 kB / 1.255 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003623/1.217, allocations: 2.065 MB / 1.257 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004808/1.217, allocations: 417.8 kB / 1.257 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000765/1.218, allocations: 0.6209 MB / 1.258 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003241/1.221, allocations: 2.224 MB / 1.26 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.221, allocations: 0.7969 kB / 1.26 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.61e-07/1.221, allocations: 4 kB / 1.26 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.244e-05/1.221, allocations: 0 / 1.26 GB, free: 3.695 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00557/1.227, allocations: 1.926 MB / 1.262 GB, free: 18.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.227, allocations: 13.38 kB / 1.262 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/1.227, allocations: 140.8 kB / 1.262 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/1.232, allocations: 0.7036 MB / 1.263 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/1.234, allocations: 0.8854 MB / 1.263 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/1.234, allocations: 71.88 kB / 1.264 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/1.234, allocations: 93.25 kB / 1.264 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/1.238, allocations: 1.464 MB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/1.238, allocations: 4.125 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.238, allocations: 37.27 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/1.238, allocations: 47.27 kB / 1.265 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/1.242, allocations: 1.558 MB / 1.267 GB, free: 17.98 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.007855/1.25, allocations: 5.021 MB / 1.272 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/1.254, allocations: 1.19 MB / 1.273 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/1.255, allocations: 0.6673 MB / 1.273 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/1.256, allocations: 0.9367 MB / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/1.258, allocations: 0.7288 MB / 1.275 GB, free: 14.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.567e-06/1.258, allocations: 0 / 1.275 GB, free: 14.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.00596/1.264, allocations: 1.957 MB / 1.277 GB, free: 14.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.264, allocations: 59.62 kB / 1.277 GB, free: 14.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/1.266, allocations: 1.267 MB / 1.278 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.687e-05/1.266, allocations: 40.92 kB / 1.278 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/1.266, allocations: 0.5725 MB / 1.279 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/1.267, allocations: 289.2 kB / 1.279 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/1.267, allocations: 180.3 kB / 1.279 GB, free: 13.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.267, allocations: 346 kB / 1.28 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/1.269, allocations: 0.5452 MB / 1.28 GB, free: 13.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/1.27, allocations: 0.8237 MB / 1.281 GB, free: 12.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003232/1.274, allocations: 1.345 MB / 1.282 GB, free: 12.69 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.274, allocations: 4.344 kB / 1.282 GB, free: 12.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003882/1.278, allocations: 1.508 MB / 1.284 GB, free: 12.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.278, allocations: 8.125 kB / 1.284 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.278, allocations: 11.75 kB / 1.284 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/1.278, allocations: 13.62 kB / 1.284 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.279, allocations: 292.4 kB / 1.284 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/1.279, allocations: 16.72 kB / 1.284 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.281, allocations: 218.9 kB / 1.284 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.281, allocations: 47.88 kB / 1.284 GB, free: 12.48 MB / 1.014 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.0005586/1.281, allocations: 346.5 kB / 1.285 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/1.282, allocations: 137.2 kB / 1.285 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/1.285, allocations: 1.443 MB / 1.286 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.285, allocations: 8.969 kB / 1.286 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.285, allocations: 0 / 1.286 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.285, allocations: 10.42 kB / 1.286 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005801/1.291, allocations: 2.855 MB / 1.289 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.291, allocations: 3.469 kB / 1.289 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.293, allocations: 224.9 kB / 1.289 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/1.293, allocations: 7.125 kB / 1.289 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-05/1.293, allocations: 31.72 kB / 1.289 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/1.293, allocations: 10.78 kB / 1.289 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.293, allocations: 7.125 kB / 1.289 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005442/1.298, allocations: 2.315 MB / 1.292 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/1.299, allocations: 304.4 kB / 1.292 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/1.299, allocations: 22.81 kB / 1.292 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.301, allocations: 123.4 kB / 1.292 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.301, allocations: 63.84 kB / 1.292 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/1.301, allocations: 39.59 kB / 1.292 GB, free: 11.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001215/1.302, allocations: 0.8758 MB / 1.293 GB, free: 10.97 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.192e-06/1.302, allocations: 4.281 kB / 1.293 GB, free: 10.97 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00133/1.303, allocations: 316.1 kB / 1.293 GB, free: 10.95 MB / 1.014 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.007071/1.31, allocations: 3.277 MB / 1.296 GB, free: 9.945 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00347/1.314, allocations: 1.31 MB / 1.298 GB, free: 9.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.314, allocations: 0 / 1.298 GB, free: 9.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/1.316, allocations: 0.6526 MB / 1.298 GB, free: 9.895 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/1.319, allocations: 0.5958 MB / 1.299 GB, free: 9.848 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/1.341, allocations: 12.32 MB / 1.311 GB, free: 5.074 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.342, allocations: 1.176 MB / 1.312 GB, free: 4.355 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00181/1.344, allocations: 356 kB / 1.312 GB, free: 4.262 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007803/1.345, allocations: 499 kB / 1.313 GB, free: 4.254 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.345, allocations: 0 / 1.313 GB, free: 4.254 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06189/1.407, allocations: 33.47 MB / 1.346 GB, free: 6.824 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.407, allocations: 265.3 kB / 1.346 GB, free: 6.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/4.083, allocations: 7.5 kB / 1.346 GB, free: 6.461 MB / 1.029 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)