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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00826/0.00826, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003864, allocations: 16.69 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2434, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.7121/0.9556, allocations: 250.2 MB / 1.303 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.9679, allocations: 9.617 MB / 1.313 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.9701, allocations: 65.06 kB / 1.313 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.972, allocations: 0.8228 MB / 1.313 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.9778, allocations: 2.485 MB / 1.316 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004983/0.9828, allocations: 1.927 MB / 1.318 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005933/0.9887, allocations: 5.434 MB / 1.323 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.9905, allocations: 1.283 MB / 1.324 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.9938, allocations: 1.672 MB / 1.326 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.9963, allocations: 1.231 MB / 1.327 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.9965, allocations: 61.88 kB / 1.327 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005519/1.002, allocations: 3.494 MB / 1.331 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000503/1.003, allocations: 481.6 kB / 1.331 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/1.004, allocations: 0.9118 MB / 1.332 GB, free: 17.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/1.008, allocations: 3.681 MB / 1.336 GB, free: 16.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.008, allocations: 0 / 1.336 GB, free: 16.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/1.008, allocations: 0 / 1.336 GB, free: 16.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.569e-05/1.008, allocations: 0 / 1.336 GB, free: 16.75 MB / 1.014 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.003057/1.011, allocations: 2.125 MB / 1.338 GB, free: 15.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.011, allocations: 23.44 kB / 1.338 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/1.011, allocations: 177.4 kB / 1.338 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/1.015, allocations: 0.6514 MB / 1.338 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/1.017, allocations: 1.367 MB / 1.34 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/1.017, allocations: 158.7 kB / 1.34 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/1.017, allocations: 126 kB / 1.34 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/1.02, allocations: 1.437 MB / 1.341 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/1.02, allocations: 5.188 kB / 1.341 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.02, allocations: 45.75 kB / 1.341 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/1.02, allocations: 46.31 kB / 1.342 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/1.022, allocations: 1.216 MB / 1.343 GB, free: 14.65 MB / 1.014 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.006771/1.029, allocations: 5.719 MB / 1.348 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/1.031, allocations: 1.061 MB / 1.349 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008947/1.032, allocations: 0.5421 MB / 1.35 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/1.032, allocations: 326.1 kB / 1.35 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/1.033, allocations: 0.5744 MB / 1.351 GB, free: 11.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 2.555e-06/1.033, allocations: 6.438 kB / 1.351 GB, free: 11.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.007596/1.041, allocations: 3.587 MB / 1.354 GB, free: 10.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/1.041, allocations: 92.45 kB / 1.354 GB, free: 10.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/1.043, allocations: 1.343 MB / 1.356 GB, free: 10.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/1.043, allocations: 43.95 kB / 1.356 GB, free: 10.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/1.043, allocations: 0.7228 MB / 1.356 GB, free: 10.06 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/1.044, allocations: 322.7 kB / 1.357 GB, free: 9.859 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.044, allocations: 91.23 kB / 1.357 GB, free: 9.844 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.044, allocations: 354.8 kB / 1.357 GB, free: 9.531 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008865/1.045, allocations: 455.2 kB / 1.358 GB, free: 9.523 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009972/1.046, allocations: 0.6715 MB / 1.358 GB, free: 9.312 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/1.058, allocations: 3.617 MB / 1.362 GB, free: 8.254 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.059, allocations: 3.938 kB / 1.362 GB, free: 8.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002995/1.062, allocations: 1.544 MB / 1.363 GB, free: 7.867 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/1.062, allocations: 244 kB / 1.363 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.062, allocations: 3.344 kB / 1.364 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/1.062, allocations: 231 kB / 1.364 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/1.063, allocations: 203.1 kB / 1.364 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/1.067, allocations: 4.293 MB / 1.368 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.069, allocations: 147.6 kB / 1.368 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/1.069, allocations: 38.77 kB / 1.368 GB, free: 4.094 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/1.069, allocations: 2.906 kB / 1.368 GB, free: 4.094 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00257/1.071, allocations: 1.378 MB / 1.37 GB, free: 3.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.071, allocations: 5.25 kB / 1.37 GB, free: 3.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/1.072, allocations: 196.7 kB / 1.37 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/1.073, allocations: 205.2 kB / 1.37 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004608/1.077, allocations: 5.309 MB / 1.375 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.079, allocations: 142.9 kB / 1.375 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/1.079, allocations: 40.83 kB / 1.375 GB, free: 15.39 MB / 1.029 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 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (105): * Single equations (assignments): 99 * 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,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008581/1.08, allocations: 0.5046 MB / 1.376 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/1.08, allocations: 163.4 kB / 1.376 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/1.083, allocations: 1.321 MB / 1.377 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.083, allocations: 6 kB / 1.377 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.083, allocations: 2.656 kB / 1.377 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002136/1.085, allocations: 1.176 MB / 1.378 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005333/1.09, allocations: 3.072 MB / 1.381 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.09, allocations: 4.312 kB / 1.381 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000978/1.091, allocations: 192.3 kB / 1.382 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/1.091, allocations: 49.52 kB / 1.382 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/1.091, allocations: 34.8 kB / 1.382 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003833/1.092, allocations: 0.5861 MB / 1.382 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.092, allocations: 7.219 kB / 1.382 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/1.095, allocations: 2.02 MB / 1.384 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/1.096, allocations: 341.4 kB / 1.385 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/1.096, allocations: 31.98 kB / 1.385 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/1.098, allocations: 115 kB / 1.385 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.098, allocations: 69.61 kB / 1.385 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/1.098, allocations: 44.42 kB / 1.385 GB, free: 9.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001187/1.099, allocations: 0.917 MB / 1.386 GB, free: 8.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.099, allocations: 0 / 1.386 GB, free: 8.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001971/1.101, allocations: 0.6926 MB / 1.386 GB, free: 8.746 MB / 1.029 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 (83): * Single equations (assignments): 81 * 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.004132/1.105, allocations: 2.742 MB / 1.389 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004168/1.109, allocations: 2.562 MB / 1.392 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.109, allocations: 0 / 1.392 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.11, allocations: 0.621 MB / 1.392 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/1.115, allocations: 0.8321 MB / 1.393 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/1.139, allocations: 14.07 MB / 1.407 GB, free: 7.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009462/1.14, allocations: 1.341 MB / 1.408 GB, free: 6.43 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001633/1.142, allocations: 352.9 kB / 1.408 GB, free: 6.078 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008452/1.143, allocations: 0.632 MB / 1.409 GB, free: 5.445 MB / 1.045 GB Notification: Performance of SimCode: time 8.11e-07/1.143, allocations: 0 / 1.409 GB, free: 5.445 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.798/2.941, allocations: 43.67 MB / 1.452 GB, free: 10.41 MB / 1.092 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/2.941, allocations: 289.5 kB / 1.452 GB, free: 10.03 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.183/7.124, allocations: 4.062 kB / 1.452 GB, free: 10.02 MB / 1.092 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/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)