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.41/2.41, allocations: 390.5 MB / 398 MB, free: 10.91 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.001259/0.001259, allocations: 187.7 kB / 491.2 MB, free: 1.551 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.667/1.667, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009203/0.0009204, allocations: 91.69 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.882e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3556, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.601/6.957, allocations: 1.932 GB / 3.144 GB, free: 337.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/6.957, allocations: 86.52 kB / 3.144 GB, free: 337.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.895/10.85, allocations: 1.039 GB / 4.183 GB, free: 159.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.096e-06/10.85, allocations: 0 / 4.183 GB, free: 159.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003358/10.85, allocations: 51.67 kB / 4.183 GB, free: 159.8 MB / 1.151 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.006168/10.86, allocations: 2.066 MB / 4.185 GB, free: 157.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/10.86, allocations: 12.03 kB / 4.185 GB, free: 157.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004492/10.86, allocations: 0.6259 MB / 4.186 GB, free: 157 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/10.87, allocations: 1.434 MB / 4.187 GB, free: 155.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000386/10.87, allocations: 110.2 kB / 4.188 GB, free: 155.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004289/10.87, allocations: 75.98 kB / 4.188 GB, free: 155.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002095/10.87, allocations: 0.9847 MB / 4.189 GB, free: 154.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/10.87, allocations: 1.195 MB / 4.19 GB, free: 153.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/10.87, allocations: 0 / 4.19 GB, free: 153.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/10.87, allocations: 0 / 4.19 GB, free: 153.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/10.87, allocations: 42.22 kB / 4.19 GB, free: 153.1 MB / 1.151 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.007989/10.88, allocations: 5.62 MB / 4.195 GB, free: 147.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/10.88, allocations: 0.9511 MB / 4.196 GB, free: 146.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/10.88, allocations: 464.9 kB / 4.197 GB, free: 145.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000506/10.88, allocations: 308 kB / 4.197 GB, free: 145.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006474/10.88, allocations: 0.5168 MB / 4.197 GB, free: 144.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=87): time 2.745e-06/10.88, allocations: 3.938 kB / 4.197 GB, free: 144.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.006788/10.89, allocations: 2.921 MB / 4.2 GB, free: 141.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/10.89, allocations: 192.7 kB / 4.201 GB, free: 141.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/10.89, allocations: 0.9135 MB / 4.201 GB, free: 140.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.303e-05/10.89, allocations: 29.7 kB / 4.201 GB, free: 140.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004933/10.89, allocations: 0.7397 MB / 4.202 GB, free: 140 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/10.89, allocations: 311.3 kB / 4.202 GB, free: 139.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/10.89, allocations: 0 / 4.202 GB, free: 139.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/10.89, allocations: 341.9 kB / 4.203 GB, free: 139.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/10.89, allocations: 362.5 kB / 4.203 GB, free: 139 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/10.89, allocations: 0.5678 MB / 4.204 GB, free: 138.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/10.9, allocations: 1.336 MB / 4.205 GB, free: 137 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/10.9, allocations: 0 / 4.205 GB, free: 137 MB / 1.151 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00331/10.9, allocations: 1.576 MB / 4.207 GB, free: 135.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002738/10.9, allocations: 1.291 MB / 4.208 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/10.9, allocations: 7.984 kB / 4.208 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008949/10.9, allocations: 397.6 kB / 4.208 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/10.9, allocations: 175.8 kB / 4.208 GB, free: 133.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/10.91, allocations: 6.334 MB / 4.215 GB, free: 126.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/10.91, allocations: 124 kB / 4.215 GB, free: 126.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/10.91, allocations: 39.98 kB / 4.215 GB, free: 126.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/10.91, allocations: 4 kB / 4.215 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003117/10.91, allocations: 1.401 MB / 4.216 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/10.91, allocations: 7.953 kB / 4.216 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008392/10.91, allocations: 390.7 kB / 4.216 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/10.91, allocations: 183.7 kB / 4.217 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/10.92, allocations: 7.248 MB / 4.224 GB, free: 116.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/10.92, allocations: 131.8 kB / 4.224 GB, free: 116.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/10.92, allocations: 39.98 kB / 4.224 GB, free: 116.7 MB / 1.151 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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.000396/10.92, allocations: 164.1 kB / 4.224 GB, free: 116.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002877/10.93, allocations: 1.308 MB / 4.225 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/10.93, allocations: 154.2 kB / 4.225 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/10.93, allocations: 1.379 MB / 4.227 GB, free: 113.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/10.93, allocations: 8 kB / 4.227 GB, free: 113.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/10.93, allocations: 0 / 4.227 GB, free: 113.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/10.93, allocations: 1.265 MB / 4.228 GB, free: 112.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/10.94, allocations: 3.127 MB / 4.231 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/10.94, allocations: 4 kB / 4.231 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/10.94, allocations: 192.1 kB / 4.231 GB, free: 108.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003861/10.94, allocations: 189.6 kB / 4.231 GB, free: 108.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/10.94, allocations: 19.98 kB / 4.231 GB, free: 108.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/10.94, allocations: 2.429 MB / 4.234 GB, free: 106.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/10.94, allocations: 7.938 kB / 4.234 GB, free: 106.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003569/10.94, allocations: 2.316 MB / 4.236 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/10.94, allocations: 347.2 kB / 4.236 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/10.94, allocations: 8 kB / 4.236 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/10.95, allocations: 127.7 kB / 4.237 GB, free: 103.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/10.95, allocations: 72.59 kB / 4.237 GB, free: 103 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/10.95, allocations: 35.98 kB / 4.237 GB, free: 103 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009142/10.95, allocations: 0.707 MB / 4.237 GB, free: 102.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/10.95, allocations: 0 / 4.237 GB, free: 102.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003863/10.95, allocations: 0.9622 MB / 4.238 GB, free: 101.3 MB / 1.151 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.007046/10.96, allocations: 6.402 MB / 4.245 GB, free: 94.89 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00307/10.96, allocations: 2.526 MB / 4.247 GB, free: 92.27 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/10.96, allocations: 4 kB / 4.247 GB, free: 92.27 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007606/10.96, allocations: 0.6688 MB / 4.248 GB, free: 91.58 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/10.97, allocations: 0.7131 MB / 4.248 GB, free: 90.87 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/10.97, allocations: 2.869 MB / 4.251 GB, free: 87.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/10.97, allocations: 1.389 MB / 4.253 GB, free: 86.48 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001958/10.98, allocations: 419.4 kB / 4.253 GB, free: 86.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006474/10.98, allocations: 0.5969 MB / 4.254 GB, free: 85.47 MB / 1.151 GB Notification: Performance of SimCode: time 8.61e-07/10.98, allocations: 0 / 4.254 GB, free: 85.47 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/11.09, allocations: 62.95 MB / 4.315 GB, free: 22.75 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/11.09, allocations: 174.9 kB / 4.315 GB, free: 22.56 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.305/15.4, allocations: 448 / 4.315 GB, free: 22.56 MB / 1.151 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