Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_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.0009412/0.0009411, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001105/0.001105, allocations: 168.7 kB / 15.95 MB, free: 204 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004532, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.733, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1746/0.9077, allocations: 176.3 MB / 1.126 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00733/0.915, allocations: 4.882 MB / 1.131 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009009/0.916, allocations: 39.69 kB / 1.131 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.9173, allocations: 0.6296 MB / 1.131 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.9216, allocations: 1.885 MB / 1.133 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.9236, allocations: 0.9115 MB / 1.134 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003019/0.9267, allocations: 3.003 MB / 1.137 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.9277, allocations: 0.7374 MB / 1.138 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.9292, allocations: 0.9843 MB / 1.139 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.9302, allocations: 0.9146 MB / 1.14 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.9304, allocations: 44 kB / 1.14 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.9325, allocations: 0.9392 MB / 1.141 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.9328, allocations: 398.8 kB / 1.141 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.9331, allocations: 269 kB / 1.141 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.9345, allocations: 1.356 MB / 1.143 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9345, allocations: 0 / 1.143 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9345, allocations: 0 / 1.143 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.9345, allocations: 0 / 1.143 GB, free: 14.3 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.004031/0.9386, allocations: 1.693 MB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.9386, allocations: 8.031 kB / 1.144 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.9388, allocations: 135.5 kB / 1.144 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/0.9425, allocations: 0.7552 MB / 1.145 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.9438, allocations: 0.8445 MB / 1.146 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.9438, allocations: 65.98 kB / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.944, allocations: 87.98 kB / 1.146 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.9471, allocations: 1.48 MB / 1.148 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.9471, allocations: 0 / 1.148 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.9472, allocations: 36 kB / 1.148 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.9473, allocations: 45.98 kB / 1.148 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003652/0.9509, allocations: 1.577 MB / 1.149 GB, free: 7.398 MB / 0.9044 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.005889/0.9568, allocations: 5.046 MB / 1.154 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.9598, allocations: 1.242 MB / 1.155 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.9614, allocations: 0.6741 MB / 1.156 GB, free: 168 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.9625, allocations: 0.9644 MB / 1.157 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.9641, allocations: 0.7225 MB / 1.158 GB, free: 14.28 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.9642, allocations: 0 / 1.158 GB, free: 14.28 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.005262/0.9694, allocations: 1.991 MB / 1.16 GB, free: 12.28 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.9695, allocations: 64.06 kB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.9708, allocations: 1.255 MB / 1.161 GB, free: 10.95 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-05/0.9709, allocations: 45.7 kB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.9713, allocations: 0.5716 MB / 1.161 GB, free: 10.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.9716, allocations: 276 kB / 1.162 GB, free: 10.04 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.9716, allocations: 20 kB / 1.162 GB, free: 10.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9718, allocations: 349.8 kB / 1.162 GB, free: 9.676 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.9732, allocations: 0.5562 MB / 1.163 GB, free: 9.121 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.9748, allocations: 0.8325 MB / 1.163 GB, free: 8.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.9763, allocations: 0.6079 MB / 1.164 GB, free: 7.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9763, allocations: 0 / 1.164 GB, free: 7.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003442/0.9798, allocations: 1.53 MB / 1.166 GB, free: 6.039 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9798, allocations: 8 kB / 1.166 GB, free: 6.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9798, allocations: 8 kB / 1.166 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.9799, allocations: 15.98 kB / 1.166 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.9812, allocations: 304.1 kB / 1.166 GB, free: 5.711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.9812, allocations: 15.94 kB / 1.166 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.9824, allocations: 226.7 kB / 1.166 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/0.9825, allocations: 47.98 kB / 1.166 GB, free: 5.426 MB / 0.92 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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.0004607/0.983, allocations: 339.7 kB / 1.166 GB, free: 5.086 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.9832, allocations: 134.3 kB / 1.167 GB, free: 4.953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/0.9867, allocations: 1.479 MB / 1.168 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.9867, allocations: 8 kB / 1.168 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.9867, allocations: 0 / 1.168 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9867, allocations: 7.922 kB / 1.168 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.9918, allocations: 2.881 MB / 1.171 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.9919, allocations: 4 kB / 1.171 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.993, allocations: 224 kB / 1.171 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.9931, allocations: 8 kB / 1.171 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.553e-05/0.9931, allocations: 31.97 kB / 1.171 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.9932, allocations: 12 kB / 1.171 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9932, allocations: 7.938 kB / 1.171 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004876/0.998, allocations: 2.334 MB / 1.173 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.9985, allocations: 311.1 kB / 1.174 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.9987, allocations: 28 kB / 1.174 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/0.9996, allocations: 127.9 kB / 1.174 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.9998, allocations: 72.38 kB / 1.174 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.647e-05/0.9999, allocations: 35.97 kB / 1.174 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009358/1.001, allocations: 0.8645 MB / 1.175 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.001, allocations: 0 / 1.175 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009107/1.002, allocations: 315.7 kB / 1.175 GB, free: 12.02 MB / 0.9356 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 (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.005943/1.008, allocations: 3.321 MB / 1.178 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003098/1.011, allocations: 1.323 MB / 1.18 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.011, allocations: 4.25 kB / 1.18 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/1.012, allocations: 0.6597 MB / 1.18 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/1.015, allocations: 0.6036 MB / 1.181 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/1.028, allocations: 8.791 MB / 1.189 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/1.029, allocations: 1.171 MB / 1.191 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001347/1.03, allocations: 350.2 kB / 1.191 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/1.031, allocations: 0.4914 MB / 1.191 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/1.031, allocations: 0 / 1.191 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08617/1.117, allocations: 33.18 MB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.117, allocations: 236.8 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.606, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat