Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeaterCooler_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.266/2.266, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.00163/0.001631, allocations: 184 kB / 0.4901 GB, free: 2.227 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.77/1.77, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001091/0.001091, allocations: 102.6 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004564, allocations: 15.16 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3627, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.028/5.391, allocations: 1.932 GB / 3.162 GB, free: 47.99 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/5.391, allocations: 95.95 kB / 3.162 GB, free: 47.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.242/9.633, allocations: 1.051 GB / 4.213 GB, free: 238.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.513e-06/9.633, allocations: 0 / 4.213 GB, free: 238.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001611/9.633, allocations: 48.41 kB / 4.213 GB, free: 238.3 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005818/9.639, allocations: 2.381 MB / 4.215 GB, free: 237.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/9.639, allocations: 10.59 kB / 4.215 GB, free: 237.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003082/9.639, allocations: 181.2 kB / 4.216 GB, free: 237.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/9.643, allocations: 0.6281 MB / 4.216 GB, free: 237.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/9.646, allocations: 1.447 MB / 4.218 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/9.647, allocations: 158 kB / 4.218 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/9.647, allocations: 121 kB / 4.218 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/9.65, allocations: 1.46 MB / 4.219 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/9.65, allocations: 3.375 kB / 4.219 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/9.65, allocations: 51.03 kB / 4.219 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/9.65, allocations: 39.97 kB / 4.219 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/9.652, allocations: 1.253 MB / 4.221 GB, free: 236.6 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.007779/9.66, allocations: 5.876 MB / 4.226 GB, free: 234.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/9.662, allocations: 1.172 MB / 4.227 GB, free: 234 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004993/9.662, allocations: 307.7 kB / 4.228 GB, free: 233.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/9.663, allocations: 0.6366 MB / 4.228 GB, free: 233.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=87): time 3.647e-06/9.663, allocations: 0 / 4.228 GB, free: 233.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.01074/9.674, allocations: 4.367 MB / 4.233 GB, free: 232.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/9.674, allocations: 195.9 kB / 4.233 GB, free: 232.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/9.676, allocations: 1.161 MB / 4.234 GB, free: 232.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/9.677, allocations: 46.48 kB / 4.234 GB, free: 232.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00066/9.677, allocations: 0.72 MB / 4.235 GB, free: 232 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/9.677, allocations: 325.2 kB / 4.235 GB, free: 231.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/9.678, allocations: 15.66 kB / 4.235 GB, free: 231.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.504e-05/9.678, allocations: 341.3 kB / 4.235 GB, free: 231.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/9.678, allocations: 477.8 kB / 4.236 GB, free: 231.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/9.68, allocations: 0.6928 MB / 4.236 GB, free: 231.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/9.691, allocations: 2.537 MB / 4.239 GB, free: 231.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/9.691, allocations: 0 / 4.239 GB, free: 231.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00462/9.696, allocations: 1.79 MB / 4.241 GB, free: 230.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002964/9.696, allocations: 1.296 MB / 4.242 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/9.696, allocations: 3.438 kB / 4.242 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/9.697, allocations: 436.6 kB / 4.242 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/9.698, allocations: 180.2 kB / 4.243 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007514/9.705, allocations: 6.999 MB / 4.249 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/9.707, allocations: 153.2 kB / 4.25 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/9.708, allocations: 41.38 kB / 4.25 GB, free: 225 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/9.708, allocations: 8.828 kB / 4.25 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004149/9.712, allocations: 1.631 MB / 4.251 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/9.712, allocations: 3.656 kB / 4.251 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/9.713, allocations: 430.7 kB / 4.252 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/9.714, allocations: 182.1 kB / 4.252 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008051/9.722, allocations: 7.996 MB / 4.26 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/9.724, allocations: 152.6 kB / 4.26 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/9.724, allocations: 42.83 kB / 4.26 GB, free: 219.6 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001352/9.725, allocations: 0.5051 MB / 4.26 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/9.726, allocations: 171.5 kB / 4.26 GB, free: 219.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/9.73, allocations: 1.66 MB / 4.262 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/9.73, allocations: 7.125 kB / 4.262 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/9.73, allocations: 5.906 kB / 4.262 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003459/9.734, allocations: 1.519 MB / 4.264 GB, free: 218.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008247/9.742, allocations: 3.516 MB / 4.267 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/9.742, allocations: 3.438 kB / 4.267 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009278/9.743, allocations: 188.2 kB / 4.267 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006276/9.744, allocations: 235.5 kB / 4.267 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/9.744, allocations: 40.2 kB / 4.267 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003407/9.747, allocations: 2.714 MB / 4.27 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/9.747, allocations: 7.203 kB / 4.27 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005732/9.753, allocations: 2.687 MB / 4.273 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/9.755, allocations: 366 kB / 4.273 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005545/9.755, allocations: 33.58 kB / 4.273 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/9.757, allocations: 143.1 kB / 4.273 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/9.757, allocations: 67.45 kB / 4.273 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/9.757, allocations: 42.19 kB / 4.273 GB, free: 215.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002065/9.759, allocations: 0.9133 MB / 4.274 GB, free: 215.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.5e-07/9.759, allocations: 0 / 4.274 GB, free: 215.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005353/9.765, allocations: 1.016 MB / 4.275 GB, free: 215.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009848/9.775, allocations: 6.513 MB / 4.282 GB, free: 212.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005082/9.78, allocations: 2.918 MB / 4.284 GB, free: 211.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/9.78, allocations: 3.938 kB / 4.284 GB, free: 211.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/9.781, allocations: 0.7987 MB / 4.285 GB, free: 211.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/9.786, allocations: 0.8583 MB / 4.286 GB, free: 211.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/9.81, allocations: 12.77 MB / 4.298 GB, free: 205.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/9.811, allocations: 1.384 MB / 4.3 GB, free: 204.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002109/9.813, allocations: 341.5 kB / 4.3 GB, free: 204.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/9.814, allocations: 0.6436 MB / 4.301 GB, free: 204.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.002e-06/9.814, allocations: 0 / 4.301 GB, free: 204.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/9.937, allocations: 83.53 MB / 4.382 GB, free: 144.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/9.937, allocations: 259.3 kB / 4.383 GB, free: 144.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.866/14.8, allocations: 0 / 4.383 GB, free: 144.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat does not exist to compare? outputFormat=mat