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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001282/0.001282, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001381/0.001382, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.445/2.445, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 16 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.6938, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1698/0.8636, allocations: 160.8 MB / 1.138 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008717/0.8724, allocations: 5.026 MB / 1.143 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.8737, allocations: 43.67 kB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.8758, allocations: 0.7821 MB / 1.144 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.8801, allocations: 1.784 MB / 1.145 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.8829, allocations: 1.152 MB / 1.146 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.8851, allocations: 1.634 MB / 1.148 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.8862, allocations: 0.7766 MB / 1.149 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.8876, allocations: 0.9617 MB / 1.15 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007528/0.8884, allocations: 0.685 MB / 1.15 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.8885, allocations: 48 kB / 1.15 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.8905, allocations: 0.9321 MB / 1.151 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.8908, allocations: 378.8 kB / 1.152 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.8911, allocations: 265 kB / 1.152 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.8924, allocations: 1.302 MB / 1.153 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.8924, allocations: 0 / 1.153 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8924, allocations: 4 kB / 1.153 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.8924, allocations: 4 kB / 1.153 GB, free: 5.266 MB / 0.9044 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.004259/0.8967, allocations: 1.665 MB / 1.155 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8967, allocations: 11.97 kB / 1.155 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.8969, allocations: 139.5 kB / 1.155 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004112/0.901, allocations: 0.7435 MB / 1.156 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.9024, allocations: 0.8445 MB / 1.157 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.9025, allocations: 69.95 kB / 1.157 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.9027, allocations: 84 kB / 1.157 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.9055, allocations: 1.473 MB / 1.158 GB, free: 60 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.9055, allocations: 0 / 1.158 GB, free: 60 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.9056, allocations: 35.98 kB / 1.158 GB, free: 24 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.519e-05/0.9057, allocations: 50.03 kB / 1.158 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/0.9096, allocations: 1.577 MB / 1.16 GB, free: 14.4 MB / 0.92 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.005526/0.9152, allocations: 4.655 MB / 1.164 GB, free: 9.488 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.9185, allocations: 1.246 MB / 1.166 GB, free: 8.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000453/0.9189, allocations: 173.7 kB / 1.166 GB, free: 8.043 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/0.9208, allocations: 0.738 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 3.226e-06/0.9208, allocations: 4 kB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.006021/0.9268, allocations: 2.003 MB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.9269, allocations: 60.06 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.9286, allocations: 1.259 MB / 1.17 GB, free: 3.941 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.9287, allocations: 41.7 kB / 1.17 GB, free: 3.895 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.9292, allocations: 0.5716 MB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.9294, allocations: 288 kB / 1.171 GB, free: 3.031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.9295, allocations: 20 kB / 1.171 GB, free: 3.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.9296, allocations: 342 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.9312, allocations: 0.5639 MB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.9329, allocations: 0.801 MB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.9345, allocations: 0.604 MB / 1.173 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.9345, allocations: 7.953 kB / 1.173 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003807/0.9383, allocations: 1.526 MB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.9384, allocations: 8 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9384, allocations: 8.094 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.9384, allocations: 15.94 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.9398, allocations: 300 kB / 1.175 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.9399, allocations: 11.94 kB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.9413, allocations: 226.7 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.764e-05/0.9414, allocations: 47.97 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005418/0.9419, allocations: 335.7 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.9421, allocations: 142.2 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.9459, allocations: 1.472 MB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.9459, allocations: 8 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9459, allocations: 0 / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.946, allocations: 3.984 kB / 1.177 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005647/0.9516, allocations: 2.906 MB / 1.18 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.9516, allocations: 4 kB / 1.18 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.9529, allocations: 231.8 kB / 1.18 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.9529, allocations: 8 kB / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.953, allocations: 31.97 kB / 1.18 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.617e-06/0.953, allocations: 12 kB / 1.18 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.953, allocations: 7.938 kB / 1.18 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.9583, allocations: 2.573 MB / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.9589, allocations: 319.1 kB / 1.183 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.9591, allocations: 20 kB / 1.183 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.9602, allocations: 131.9 kB / 1.183 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.9603, allocations: 68.38 kB / 1.183 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.9604, allocations: 31.98 kB / 1.183 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009584/0.9614, allocations: 0.8684 MB / 1.184 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9614, allocations: 0 / 1.184 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009068/0.9623, allocations: 320.5 kB / 1.184 GB, free: 4.719 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006849/0.9692, allocations: 4.7 MB / 1.189 GB, free: 48 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003444/0.9726, allocations: 1.315 MB / 1.19 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9726, allocations: 0 / 1.19 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/0.9743, allocations: 0.6759 MB / 1.191 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.9769, allocations: 0.587 MB / 1.191 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.9932, allocations: 12.59 MB / 1.204 GB, free: 396 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.9939, allocations: 1.206 MB / 1.205 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001457/0.9954, allocations: 354.1 kB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/0.9961, allocations: 499.2 kB / 1.206 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of SimCode: time 2.464e-06/0.9961, allocations: 0 / 1.206 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05409/1.05, allocations: 33.19 MB / 1.238 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/1.051, allocations: 242.5 kB / 1.238 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.538, allocations: 4.062 kB / 1.238 GB, free: 13.36 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat