Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 252 MB / 267.3 MB, free: 10.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 176.8 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 82.38 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003943, allocations: 11.84 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2548, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.907/1.162, allocations: 250.7 MB / 1.146 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0192/1.181, allocations: 9.655 MB / 1.155 GB, free: 264 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004513/1.186, allocations: 65.25 kB / 1.155 GB, free: 264 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0041/1.19, allocations: 0.8094 MB / 1.156 GB, free: 252 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/1.201, allocations: 2.552 MB / 1.159 GB, free: 116 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008212/1.209, allocations: 1.973 MB / 1.16 GB, free: 36 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01068/1.22, allocations: 5.561 MB / 1.166 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/1.224, allocations: 1.296 MB / 1.167 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005695/1.23, allocations: 1.649 MB / 1.169 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004433/1.234, allocations: 1.261 MB / 1.17 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007805/1.235, allocations: 67 kB / 1.17 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009838/1.245, allocations: 3.493 MB / 1.173 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001518/1.246, allocations: 489.3 kB / 1.174 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003499/1.25, allocations: 0.9077 MB / 1.175 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/1.262, allocations: 3.717 MB / 1.178 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/1.262, allocations: 0 / 1.178 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.567e-06/1.262, allocations: 0 / 1.178 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001713/1.262, allocations: 0 / 1.178 GB, free: 8.578 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007345/1.27, allocations: 2.137 MB / 1.181 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.27, allocations: 8.562 kB / 1.181 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006221/1.271, allocations: 182.3 kB / 1.181 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/1.275, allocations: 0.6408 MB / 1.181 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/1.279, allocations: 1.367 MB / 1.183 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004833/1.28, allocations: 158.9 kB / 1.183 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004949/1.28, allocations: 132.5 kB / 1.183 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004/1.284, allocations: 1.441 MB / 1.184 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/1.284, allocations: 0 / 1.184 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/1.285, allocations: 56.03 kB / 1.184 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/1.285, allocations: 44.11 kB / 1.184 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/1.288, allocations: 1.218 MB / 1.186 GB, free: 3.93 MB / 0.7136 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.01088/1.299, allocations: 5.725 MB / 1.191 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/1.301, allocations: 1.044 MB / 1.192 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/1.302, allocations: 0.5377 MB / 1.193 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/1.303, allocations: 331.8 kB / 1.193 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/1.304, allocations: 0.5813 MB / 1.194 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.997e-06/1.304, allocations: 0 / 1.194 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.01013/1.314, allocations: 3.641 MB / 1.197 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/1.314, allocations: 86.11 kB / 1.197 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/1.317, allocations: 1.35 MB / 1.199 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/1.317, allocations: 45.7 kB / 1.199 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/1.318, allocations: 0.729 MB / 1.199 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004527/1.319, allocations: 320.7 kB / 1.2 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/1.319, allocations: 20 kB / 1.2 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.319, allocations: 345.9 kB / 1.2 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/1.32, allocations: 472.7 kB / 1.2 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.322, allocations: 0.6851 MB / 1.201 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/1.336, allocations: 3.642 MB / 1.205 GB, free: 464 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/1.336, allocations: 0 / 1.205 GB, free: 464 kB / 0.7292 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004629/1.341, allocations: 1.582 MB / 1.206 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002686/1.341, allocations: 246.6 kB / 1.206 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.341, allocations: 4 kB / 1.206 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000892/1.342, allocations: 245 kB / 1.207 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.343, allocations: 198.4 kB / 1.207 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/1.349, allocations: 4.488 MB / 1.211 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/1.351, allocations: 156.5 kB / 1.211 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/1.351, allocations: 39.98 kB / 1.211 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.351, allocations: 4 kB / 1.211 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003444/1.355, allocations: 1.396 MB / 1.213 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/1.355, allocations: 4 kB / 1.213 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/1.356, allocations: 221.1 kB / 1.213 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.357, allocations: 204.1 kB / 1.213 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/1.363, allocations: 5.511 MB / 1.219 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.365, allocations: 145.8 kB / 1.219 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.365, allocations: 47.98 kB / 1.219 GB, free: 1.285 MB / 0.7448 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: 18 * 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 (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001265/1.366, allocations: 0.5064 MB / 1.219 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/1.367, allocations: 162 kB / 1.219 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/1.37, allocations: 1.334 MB / 1.221 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.37, allocations: 8 kB / 1.221 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.37, allocations: 4 kB / 1.221 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002473/1.373, allocations: 1.184 MB / 1.222 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007129/1.38, allocations: 3.094 MB / 1.225 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.38, allocations: 4 kB / 1.225 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.381, allocations: 192.2 kB / 1.225 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/1.381, allocations: 56.75 kB / 1.225 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.381, allocations: 31.98 kB / 1.225 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004839/1.382, allocations: 0.5952 MB / 1.226 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.382, allocations: 7.938 kB / 1.226 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/1.386, allocations: 2.033 MB / 1.228 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.387, allocations: 347 kB / 1.228 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/1.388, allocations: 28 kB / 1.228 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.39, allocations: 123.7 kB / 1.228 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.39, allocations: 68.45 kB / 1.228 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/1.39, allocations: 32.17 kB / 1.228 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002085/1.392, allocations: 0.9216 MB / 1.229 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.4e-07/1.392, allocations: 4 kB / 1.229 GB, free: 6.273 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003398/1.395, allocations: 0.6797 MB / 1.23 GB, free: 5.594 MB / 0.7605 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005459/1.401, allocations: 2.747 MB / 1.233 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005387/1.406, allocations: 2.595 MB / 1.235 GB, free: 96 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.406, allocations: 4 kB / 1.235 GB, free: 92 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.408, allocations: 0.6232 MB / 1.236 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0057/1.413, allocations: 0.8293 MB / 1.237 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03313/1.447, allocations: 14.17 MB / 1.25 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/1.448, allocations: 1.348 MB / 1.252 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002227/1.451, allocations: 348.9 kB / 1.252 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.452, allocations: 0.632 MB / 1.253 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of SimCode: time 1.703e-06/1.452, allocations: 3.938 kB / 1.253 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09874/1.551, allocations: 44.34 MB / 1.296 GB, free: 1.523 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/1.551, allocations: 303.7 kB / 1.296 GB, free: 1.137 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.196/5.747, allocations: 0 / 1.296 GB, free: 1.137 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)