Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.515/2.515, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 180 kB / 0.4901 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.783/1.783, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 82.94 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004306, allocations: 10.44 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3468, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.641, allocations: 402.5 MB / 1.622 GB, free: 10.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/1.642, allocations: 88.14 kB / 1.622 GB, free: 10.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.352/6.994, allocations: 1.539 GB / 3.161 GB, free: 34.84 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.903e-06/6.994, allocations: 4 kB / 3.161 GB, free: 34.84 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002603/6.994, allocations: 47.98 kB / 3.161 GB, free: 34.79 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.006137/7.001, allocations: 2.195 MB / 3.164 GB, free: 32.52 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/7.001, allocations: 8.031 kB / 3.164 GB, free: 32.51 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005148/7.001, allocations: 156.5 kB / 3.164 GB, free: 32.35 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/7.005, allocations: 0.6066 MB / 3.164 GB, free: 31.74 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/7.009, allocations: 1.45 MB / 3.166 GB, free: 30.24 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/7.009, allocations: 79.2 kB / 3.166 GB, free: 30.16 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/7.01, allocations: 119.9 kB / 3.166 GB, free: 30.05 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/7.013, allocations: 1.369 MB / 3.167 GB, free: 28.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/7.013, allocations: 8.281 kB / 3.167 GB, free: 28.59 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/7.013, allocations: 47.95 kB / 3.167 GB, free: 28.55 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/7.013, allocations: 24 kB / 3.167 GB, free: 28.52 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/7.016, allocations: 1.241 MB / 3.169 GB, free: 27.28 MB / 1.167 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.008529/7.025, allocations: 6.659 MB / 3.175 GB, free: 20.11 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/7.028, allocations: 1.26 MB / 3.176 GB, free: 18.84 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/7.029, allocations: 2.256 MB / 3.178 GB, free: 16.09 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/7.031, allocations: 0.8344 MB / 3.179 GB, free: 15.22 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 4.258e-06/7.031, allocations: 0 / 3.179 GB, free: 15.22 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.005154/7.036, allocations: 2.466 MB / 3.182 GB, free: 12.67 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/7.036, allocations: 145.2 kB / 3.182 GB, free: 12.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/7.038, allocations: 1.058 MB / 3.183 GB, free: 11.44 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/7.038, allocations: 45.7 kB / 3.183 GB, free: 11.39 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/7.039, allocations: 0.7015 MB / 3.184 GB, free: 10.68 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/7.039, allocations: 327.3 kB / 3.184 GB, free: 10.35 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/7.039, allocations: 16 kB / 3.184 GB, free: 10.34 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/7.039, allocations: 354.7 kB / 3.184 GB, free: 9.984 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/7.04, allocations: 0.5761 MB / 3.185 GB, free: 9.41 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/7.042, allocations: 0.8772 MB / 3.186 GB, free: 8.418 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/7.043, allocations: 0.7184 MB / 3.186 GB, free: 7.684 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/7.043, allocations: 4 kB / 3.186 GB, free: 7.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003969/7.047, allocations: 1.848 MB / 3.188 GB, free: 5.805 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004875/7.048, allocations: 2.252 MB / 3.19 GB, free: 3.336 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/7.048, allocations: 4 kB / 3.19 GB, free: 3.332 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/7.048, allocations: 12 kB / 3.19 GB, free: 3.32 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/7.049, allocations: 287.6 kB / 3.191 GB, free: 3.039 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/7.049, allocations: 12 kB / 3.191 GB, free: 3.027 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/7.051, allocations: 242.9 kB / 3.191 GB, free: 2.789 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/7.051, allocations: 63.91 kB / 3.191 GB, free: 2.727 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/7.051, allocations: 8 kB / 3.191 GB, free: 2.719 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003628/7.055, allocations: 1.746 MB / 3.193 GB, free: 0.9531 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/7.055, allocations: 4 kB / 3.193 GB, free: 0.9492 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/7.055, allocations: 15.95 kB / 3.193 GB, free: 0.9336 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/7.056, allocations: 296 kB / 3.193 GB, free: 0.6445 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/7.056, allocations: 11.94 kB / 3.193 GB, free: 0.6328 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/7.058, allocations: 242.8 kB / 3.193 GB, free: 408 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/7.059, allocations: 59.97 kB / 3.193 GB, free: 348 kB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.001108/7.06, allocations: 0.5035 MB / 3.194 GB, free: 15.81 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/7.06, allocations: 166 kB / 3.194 GB, free: 15.64 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/7.066, allocations: 2.337 MB / 3.196 GB, free: 13.28 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/7.066, allocations: 23.94 kB / 3.196 GB, free: 13.26 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/7.066, allocations: 0 / 3.196 GB, free: 13.26 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/7.066, allocations: 3.984 kB / 3.196 GB, free: 13.25 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008958/7.075, allocations: 3.682 MB / 3.2 GB, free: 9.477 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/7.075, allocations: 4 kB / 3.2 GB, free: 9.473 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/7.076, allocations: 231.8 kB / 3.2 GB, free: 9.246 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.191e-05/7.076, allocations: 8 kB / 3.2 GB, free: 9.238 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/7.077, allocations: 43.91 kB / 3.2 GB, free: 9.195 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/7.077, allocations: 4 kB / 3.2 GB, free: 9.191 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/7.077, allocations: 0 / 3.2 GB, free: 9.191 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006971/7.084, allocations: 3.209 MB / 3.203 GB, free: 5.891 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/7.085, allocations: 402.6 kB / 3.204 GB, free: 5.477 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005064/7.085, allocations: 27.98 kB / 3.204 GB, free: 5.449 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/7.087, allocations: 175.8 kB / 3.204 GB, free: 5.277 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/7.087, allocations: 72.94 kB / 3.204 GB, free: 5.207 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/7.088, allocations: 51.97 kB / 3.204 GB, free: 5.156 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001894/7.089, allocations: 0.8265 MB / 3.205 GB, free: 4.332 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.01e-07/7.089, allocations: 0 / 3.205 GB, free: 4.332 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004074/7.094, allocations: 0.9206 MB / 3.206 GB, free: 3.41 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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 Backend phase and start with SimCode phase: time 0.6992/7.793, allocations: 4.84 MB / 3.21 GB, free: 186.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005933/7.799, allocations: 2.767 MB / 3.213 GB, free: 185.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/7.799, allocations: 0 / 3.213 GB, free: 185.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/7.801, allocations: 1.072 MB / 3.214 GB, free: 185.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/7.804, allocations: 0.5967 MB / 3.215 GB, free: 185.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/7.826, allocations: 14.05 MB / 3.228 GB, free: 178.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/7.827, allocations: 1.314 MB / 3.23 GB, free: 177.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002281/7.829, allocations: 410.5 kB / 3.23 GB, free: 177.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009103/7.83, allocations: 0.6615 MB / 3.231 GB, free: 177.9 MB / 1.182 GB Notification: Performance of SimCode: time 9.949e-06/7.83, allocations: 0 / 3.231 GB, free: 177.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09328/7.924, allocations: 50.33 MB / 3.28 GB, free: 177.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/7.924, allocations: 242.6 kB / 3.28 GB, free: 176.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.114/12.04, allocations: 0 / 3.28 GB, free: 176.8 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat does not exist to compare? outputFormat=mat