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.001079/0.001079, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.00888/0.00888, allocations: 169.2 kB / 16.26 MB, free: 6.66 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.825/2.825, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 10.06 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3425, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2214/0.5639, allocations: 189 MB / 1.243 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009776/0.5738, allocations: 5.142 MB / 1.248 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.5756, allocations: 39.69 kB / 1.248 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.5779, allocations: 0.7194 MB / 1.249 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5855/1.163, allocations: 2.432 MB / 1.251 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/1.166, allocations: 1.007 MB / 1.252 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004703/1.171, allocations: 3.533 MB / 1.256 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/1.173, allocations: 0.7965 MB / 1.257 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/1.175, allocations: 0.9865 MB / 1.258 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/1.176, allocations: 0.9834 MB / 1.259 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.177, allocations: 46.03 kB / 1.259 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/1.181, allocations: 2.065 MB / 1.261 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005588/1.181, allocations: 409.4 kB / 1.261 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/1.182, allocations: 0.6303 MB / 1.262 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003966/1.186, allocations: 2.211 MB / 1.264 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.186, allocations: 0 / 1.264 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.515e-06/1.186, allocations: 0 / 1.264 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.016e-05/1.186, allocations: 0 / 1.264 GB, free: 3.617 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.005205/1.191, allocations: 1.673 MB / 1.265 GB, free: 18.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.191, allocations: 13.31 kB / 1.265 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002228/1.192, allocations: 135.7 kB / 1.266 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/1.197, allocations: 0.7487 MB / 1.266 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/1.198, allocations: 0.8894 MB / 1.267 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/1.198, allocations: 69.17 kB / 1.267 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/1.198, allocations: 85.59 kB / 1.267 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003539/1.202, allocations: 1.477 MB / 1.269 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/1.202, allocations: 4.188 kB / 1.269 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.202, allocations: 39 kB / 1.269 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.946e-05/1.202, allocations: 48.88 kB / 1.269 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/1.207, allocations: 1.583 MB / 1.27 GB, free: 17.95 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.007362/1.214, allocations: 5.052 MB / 1.275 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/1.217, allocations: 1.24 MB / 1.277 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/1.219, allocations: 0.6732 MB / 1.277 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/1.22, allocations: 0.9556 MB / 1.278 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/1.222, allocations: 0.7362 MB / 1.279 GB, free: 14.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.927e-06/1.222, allocations: 0 / 1.279 GB, free: 14.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.006752/1.229, allocations: 1.995 MB / 1.281 GB, free: 14.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.229, allocations: 67.44 kB / 1.281 GB, free: 14.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/1.231, allocations: 1.259 MB / 1.282 GB, free: 13.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/1.231, allocations: 46.08 kB / 1.282 GB, free: 13.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/1.232, allocations: 0.566 MB / 1.283 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/1.232, allocations: 286.5 kB / 1.283 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.232, allocations: 79.86 kB / 1.283 GB, free: 13.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.232, allocations: 348 kB / 1.283 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/1.234, allocations: 0.5628 MB / 1.284 GB, free: 13.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.236, allocations: 0.8329 MB / 1.285 GB, free: 12.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/1.239, allocations: 1.365 MB / 1.286 GB, free: 12.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.239, allocations: 2.094 kB / 1.286 GB, free: 12.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004199/1.244, allocations: 1.536 MB / 1.288 GB, free: 12.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/1.244, allocations: 6.969 kB / 1.288 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.244, allocations: 7.812 kB / 1.288 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/1.244, allocations: 11.97 kB / 1.288 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.245, allocations: 296.8 kB / 1.288 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/1.245, allocations: 22.22 kB / 1.288 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.247, allocations: 229.5 kB / 1.288 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.247, allocations: 49.05 kB / 1.288 GB, free: 12.43 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.0006873/1.248, allocations: 340 kB / 1.289 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/1.248, allocations: 134.8 kB / 1.289 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/1.252, allocations: 1.469 MB / 1.29 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.252, allocations: 9.625 kB / 1.29 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.252, allocations: 1.688 kB / 1.29 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.252, allocations: 4.125 kB / 1.29 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/1.258, allocations: 2.886 MB / 1.293 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.258, allocations: 3.625 kB / 1.293 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.26, allocations: 232.1 kB / 1.293 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/1.26, allocations: 7.656 kB / 1.293 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/1.26, allocations: 32.75 kB / 1.293 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/1.26, allocations: 9.406 kB / 1.293 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.26, allocations: 4.312 kB / 1.293 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/1.266, allocations: 2.349 MB / 1.296 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/1.266, allocations: 313.2 kB / 1.296 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/1.267, allocations: 23.58 kB / 1.296 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.268, allocations: 133.4 kB / 1.296 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.268, allocations: 63.3 kB / 1.296 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/1.268, allocations: 40.41 kB / 1.296 GB, free: 11.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001276/1.269, allocations: 0.8747 MB / 1.297 GB, free: 10.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.269, allocations: 1.859 kB / 1.297 GB, free: 10.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001213/1.271, allocations: 314.1 kB / 1.297 GB, free: 10.91 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.006919/1.277, allocations: 3.33 MB / 1.3 GB, free: 9.875 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003525/1.281, allocations: 1.324 MB / 1.302 GB, free: 9.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.281, allocations: 2.344 kB / 1.302 GB, free: 9.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/1.283, allocations: 0.6708 MB / 1.302 GB, free: 9.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.286, allocations: 0.6005 MB / 1.303 GB, free: 9.762 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/1.307, allocations: 12.45 MB / 1.315 GB, free: 4.961 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/1.308, allocations: 1.175 MB / 1.316 GB, free: 4.242 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001779/1.31, allocations: 353.8 kB / 1.317 GB, free: 4.152 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/1.311, allocations: 497.2 kB / 1.317 GB, free: 4.145 MB / 1.014 GB Notification: Performance of SimCode: time 1.463e-06/1.311, allocations: 0 / 1.317 GB, free: 4.145 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07626/1.387, allocations: 33.05 MB / 1.349 GB, free: 7 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.02726/1.414, allocations: 268 kB / 1.35 GB, free: 6.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/4.112, allocations: 4 kB / 1.35 GB, free: 6.637 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)