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.351/2.351, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001468/0.001468, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001036/0.001036, allocations: 87.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.271e-05/4.273e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.399, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.7/7.1, allocations: 1.932 GB / 3.151 GB, free: 326.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/7.1, allocations: 84.77 kB / 3.151 GB, free: 326.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.759/10.86, allocations: 1.05 GB / 4.201 GB, free: 162.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.182e-06/10.86, allocations: 0 / 4.201 GB, free: 162.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001584/10.86, allocations: 47.94 kB / 4.201 GB, free: 162.1 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.004367/10.86, allocations: 2.063 MB / 4.203 GB, free: 159.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/10.86, allocations: 12.02 kB / 4.203 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/10.86, allocations: 177.4 kB / 4.204 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/10.87, allocations: 0.6322 MB / 4.204 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/10.87, allocations: 1.434 MB / 4.206 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/10.87, allocations: 154.2 kB / 4.206 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/10.87, allocations: 120 kB / 4.206 GB, free: 157.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/10.87, allocations: 1.364 MB / 4.207 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/10.87, allocations: 3.984 kB / 4.207 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/10.87, allocations: 48 kB / 4.207 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/10.87, allocations: 42.22 kB / 4.207 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/10.88, allocations: 1.047 MB / 4.208 GB, free: 154.8 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.007284/10.88, allocations: 5.872 MB / 4.214 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/10.88, allocations: 0.978 MB / 4.215 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/10.89, allocations: 488.7 kB / 4.215 GB, free: 147.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/10.89, allocations: 316 kB / 4.216 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006961/10.89, allocations: 0.5341 MB / 4.216 GB, free: 146.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=87): time 2.584e-06/10.89, allocations: 0 / 4.216 GB, free: 146.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.006238/10.89, allocations: 2.993 MB / 4.219 GB, free: 143.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/10.89, allocations: 196.7 kB / 4.219 GB, free: 142.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/10.89, allocations: 1.142 MB / 4.221 GB, free: 141.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/10.89, allocations: 49.7 kB / 4.221 GB, free: 141.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/10.9, allocations: 0.7216 MB / 4.221 GB, free: 140.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/10.9, allocations: 327.3 kB / 4.222 GB, free: 140.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/10.9, allocations: 16 kB / 4.222 GB, free: 140.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/10.9, allocations: 341.9 kB / 4.222 GB, free: 140.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/10.9, allocations: 377.9 kB / 4.222 GB, free: 139.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/10.9, allocations: 0.6009 MB / 4.223 GB, free: 139.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00972/10.91, allocations: 2.35 MB / 4.225 GB, free: 136.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/10.91, allocations: 4 kB / 4.225 GB, free: 136.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004096/10.91, allocations: 1.623 MB / 4.227 GB, free: 135.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003931/10.91, allocations: 1.292 MB / 4.228 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/10.91, allocations: 4 kB / 4.228 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/10.91, allocations: 410 kB / 4.228 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/10.91, allocations: 171.8 kB / 4.229 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/10.92, allocations: 6.7 MB / 4.235 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/10.92, allocations: 147.7 kB / 4.235 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/10.92, allocations: 43.98 kB / 4.235 GB, free: 125.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/10.92, allocations: 4 kB / 4.235 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003206/10.92, allocations: 1.471 MB / 4.237 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/10.92, allocations: 4 kB / 4.237 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008777/10.93, allocations: 395 kB / 4.237 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/10.93, allocations: 179.7 kB / 4.237 GB, free: 123.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/10.93, allocations: 7.685 MB / 4.245 GB, free: 115.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/10.94, allocations: 143.8 kB / 4.245 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/10.94, allocations: 39.98 kB / 4.245 GB, free: 115.4 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 () * 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.0003817/10.94, allocations: 206.2 kB / 4.245 GB, free: 115.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/10.94, allocations: 173.9 kB / 4.245 GB, free: 115 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/10.94, allocations: 1.438 MB / 4.247 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/10.94, allocations: 12 kB / 4.247 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/10.94, allocations: 0 / 4.247 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002372/10.94, allocations: 1.299 MB / 4.248 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/10.95, allocations: 3.331 MB / 4.251 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/10.95, allocations: 4 kB / 4.251 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/10.95, allocations: 188.2 kB / 4.251 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/10.95, allocations: 201.5 kB / 4.252 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/10.95, allocations: 31.98 kB / 4.252 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/10.95, allocations: 2.493 MB / 4.254 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/10.95, allocations: 7.938 kB / 4.254 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/10.95, allocations: 2.394 MB / 4.256 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000749/10.95, allocations: 359 kB / 4.257 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/10.95, allocations: 27.98 kB / 4.257 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/10.96, allocations: 143.7 kB / 4.257 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/10.96, allocations: 72.59 kB / 4.257 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/10.96, allocations: 39.98 kB / 4.257 GB, free: 102.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001126/10.96, allocations: 0.8936 MB / 4.258 GB, free: 101.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/10.96, allocations: 0 / 4.258 GB, free: 101.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003462/10.96, allocations: 1.023 MB / 4.259 GB, free: 100.5 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.X[2],heaDyn.vol.dynBal.medium.dT,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) * 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.006996/10.97, allocations: 6.203 MB / 4.265 GB, free: 93.97 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003309/10.97, allocations: 2.66 MB / 4.268 GB, free: 91.19 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/10.97, allocations: 4 kB / 4.268 GB, free: 91.19 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008185/10.97, allocations: 0.7135 MB / 4.268 GB, free: 90.45 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00408/10.98, allocations: 0.8562 MB / 4.269 GB, free: 89.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/10.98, allocations: 2.986 MB / 4.272 GB, free: 86.52 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/10.98, allocations: 1.386 MB / 4.273 GB, free: 85.11 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001972/10.98, allocations: 496.7 kB / 4.274 GB, free: 84.61 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/10.99, allocations: 0.6047 MB / 4.275 GB, free: 84.01 MB / 1.167 GB Notification: Performance of SimCode: time 1.993e-06/10.99, allocations: 4 kB / 4.275 GB, free: 84 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9338/11.92, allocations: 91.35 MB / 4.364 GB, free: 210.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/11.92, allocations: 226.6 kB / 4.364 GB, free: 210 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.334/17.25, allocations: 0 / 4.364 GB, free: 210 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