Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.4 MB / 303.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 180.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 0.631 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007424/0.0007425, allocations: 90.3 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 16.38 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.74/0.9553, allocations: 233.4 MB / 1.208 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.9701, allocations: 8.965 MB / 1.217 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.9729, allocations: 69.84 kB / 1.217 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.9753, allocations: 0.721 MB / 1.218 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006835/0.9822, allocations: 2.25 MB / 1.22 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.9874, allocations: 1.673 MB / 1.221 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005977/0.9934, allocations: 4.686 MB / 1.226 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.9955, allocations: 1.275 MB / 1.227 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/0.9998, allocations: 1.634 MB / 1.229 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/1.002, allocations: 1.169 MB / 1.23 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/1.003, allocations: 60 kB / 1.23 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006413/1.009, allocations: 3.425 MB / 1.233 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007427/1.01, allocations: 474.3 kB / 1.234 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/1.011, allocations: 0.8645 MB / 1.235 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003926/1.015, allocations: 2.677 MB / 1.237 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.015, allocations: 0 / 1.237 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.023e-06/1.015, allocations: 0 / 1.237 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.569e-05/1.015, allocations: 0 / 1.237 GB, free: 3.121 MB / 0.7605 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.003694/1.019, allocations: 2.13 MB / 1.239 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.019, allocations: 12.03 kB / 1.239 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/1.019, allocations: 173.3 kB / 1.24 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/1.023, allocations: 0.6493 MB / 1.24 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/1.026, allocations: 1.371 MB / 1.242 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003646/1.026, allocations: 166 kB / 1.242 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/1.026, allocations: 131.8 kB / 1.242 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/1.029, allocations: 1.424 MB / 1.243 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/1.029, allocations: 7.938 kB / 1.243 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.029, allocations: 48 kB / 1.243 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/1.029, allocations: 42.22 kB / 1.243 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/1.032, allocations: 1.203 MB / 1.245 GB, free: 11.55 MB / 0.7761 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.007609/1.039, allocations: 5.716 MB / 1.25 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/1.041, allocations: 1.048 MB / 1.251 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.042, allocations: 0.5414 MB / 1.252 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/1.043, allocations: 331.9 kB / 1.252 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/1.044, allocations: 0.5735 MB / 1.253 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.396e-06/1.044, allocations: 0 / 1.253 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of matching and sorting (n=93): time 0.008211/1.052, allocations: 3.638 MB / 1.256 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/1.052, allocations: 98.03 kB / 1.256 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/1.054, allocations: 1.326 MB / 1.257 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.339e-05/1.054, allocations: 45.7 kB / 1.258 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/1.054, allocations: 0.7289 MB / 1.258 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/1.055, allocations: 319.4 kB / 1.259 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/1.055, allocations: 20 kB / 1.259 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.055, allocations: 345.9 kB / 1.259 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000945/1.056, allocations: 466 kB / 1.259 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.057, allocations: 0.6747 MB / 1.26 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.07, allocations: 3.63 MB / 1.264 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.07, allocations: 0 / 1.264 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003284/1.073, allocations: 1.569 MB / 1.265 GB, free: 5.711 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/1.074, allocations: 240.3 kB / 1.265 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.074, allocations: 4 kB / 1.265 GB, free: 5.41 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007492/1.074, allocations: 250.3 kB / 1.266 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/1.075, allocations: 211.6 kB / 1.266 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/1.079, allocations: 4.486 MB / 1.27 GB, free: 180 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/1.081, allocations: 143.7 kB / 1.27 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.081, allocations: 40.05 kB / 1.27 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/1.081, allocations: 5.094 kB / 1.27 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002803/1.084, allocations: 1.398 MB / 1.272 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/1.084, allocations: 4 kB / 1.272 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/1.084, allocations: 218.9 kB / 1.272 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/1.085, allocations: 199.7 kB / 1.272 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/1.09, allocations: 5.511 MB / 1.277 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.092, allocations: 145.9 kB / 1.278 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/1.092, allocations: 43.98 kB / 1.278 GB, free: 8.047 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008763/1.093, allocations: 0.5063 MB / 1.278 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/1.093, allocations: 169.9 kB / 1.278 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/1.095, allocations: 1.317 MB / 1.28 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.096, allocations: 12 kB / 1.28 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/1.096, allocations: 3.938 kB / 1.28 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002142/1.098, allocations: 1.178 MB / 1.281 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005229/1.103, allocations: 3.115 MB / 1.284 GB, free: 1.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.103, allocations: 7.984 kB / 1.284 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/1.104, allocations: 188.3 kB / 1.284 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/1.104, allocations: 60.75 kB / 1.284 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/1.104, allocations: 31.98 kB / 1.284 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003683/1.105, allocations: 0.5874 MB / 1.285 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.105, allocations: 7.938 kB / 1.285 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/1.108, allocations: 2.025 MB / 1.287 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007544/1.109, allocations: 343 kB / 1.287 GB, free: 14.17 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/1.109, allocations: 31.98 kB / 1.287 GB, free: 14.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.11, allocations: 111.8 kB / 1.287 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.11, allocations: 64.45 kB / 1.287 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/1.111, allocations: 39.98 kB / 1.287 GB, free: 13.93 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001341/1.112, allocations: 0.9019 MB / 1.288 GB, free: 13.03 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.71e-07/1.112, allocations: 0 / 1.288 GB, free: 13.03 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002221/1.114, allocations: 0.6952 MB / 1.289 GB, free: 12.34 MB / 0.823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004471/1.119, allocations: 2.753 MB / 1.291 GB, free: 9.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004696/1.123, allocations: 2.594 MB / 1.294 GB, free: 6.816 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.123, allocations: 0 / 1.294 GB, free: 6.816 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.125, allocations: 0.6209 MB / 1.295 GB, free: 6.188 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/1.129, allocations: 0.8268 MB / 1.295 GB, free: 5.371 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.149, allocations: 10.45 MB / 1.306 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009713/1.15, allocations: 1.341 MB / 1.307 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001713/1.152, allocations: 348.9 kB / 1.307 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000833/1.153, allocations: 0.636 MB / 1.308 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/1.153, allocations: 0 / 1.308 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.058/2.21, allocations: 46.07 MB / 1.353 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000341/2.211, allocations: 266.1 kB / 1.353 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.73/5.941, allocations: 4 kB / 1.353 GB, free: 10.03 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)