Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_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.6/1.6, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001016/0.001016, allocations: 185 kB / 371.8 MB, free: 10.28 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.22/1.22, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0007159/0.0007159, allocations: 93.58 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 12.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5438/0.7127, allocations: 250.9 MB / 1.224 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.05574/0.7685, allocations: 42.61 MB / 1.266 GB, free: 5.238 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0106/0.7791, allocations: 238.2 kB / 1.266 GB, free: 5.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.7901, allocations: 2.969 MB / 1.269 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.02784/0.818, allocations: 8.977 MB / 1.278 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.8351, allocations: 5.996 MB / 1.284 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0217/0.8568, allocations: 10.76 MB / 1.294 GB, free: 8.281 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00892/0.8657, allocations: 4.309 MB / 1.299 GB, free: 3.914 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.8782, allocations: 5.403 MB / 1.304 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005839/0.884, allocations: 3.208 MB / 1.307 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.8853, allocations: 232 kB / 1.307 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.8961, allocations: 2.797 MB / 1.31 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002477/0.8986, allocations: 1.023 MB / 1.311 GB, free: 7.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003301/0.9019, allocations: 1.373 MB / 1.312 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.9139, allocations: 7.309 MB / 1.319 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.9139, allocations: 0 / 1.319 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9139, allocations: 0 / 1.319 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002542/0.9142, allocations: 0 / 1.319 GB, free: 14.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01099/0.9252, allocations: 6.222 MB / 1.325 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9252, allocations: 8.031 kB / 1.325 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.9263, allocations: 0.5434 MB / 1.326 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.9281, allocations: 0.7803 MB / 1.327 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009279/0.9374, allocations: 4.651 MB / 1.331 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.9377, allocations: 324 kB / 1.332 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005611/0.9383, allocations: 443.9 kB / 1.332 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007717/0.946, allocations: 4.311 MB / 1.336 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.02e-05/0.9461, allocations: 19.78 kB / 1.336 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/0.9465, allocations: 172 kB / 1.336 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.9466, allocations: 120 kB / 1.337 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005016/0.9516, allocations: 2.941 MB / 1.339 GB, free: 9.48 MB / 0.8698 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.02433/0.9759, allocations: 25.18 MB / 1.364 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.9787, allocations: 2.753 MB / 1.367 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00267/0.9814, allocations: 3.908 MB / 1.371 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.074e-05/0.9815, allocations: 72.5 kB / 1.371 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=217): time 4.559e-06/0.9815, allocations: 4 kB / 1.371 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=217): time 0.009287/0.9908, allocations: 4.053 MB / 1.375 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.9909, allocations: 77.41 kB / 1.375 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005853/0.9967, allocations: 4.367 MB / 1.379 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003663/0.9971, allocations: 81.7 kB / 1.379 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002018/0.9991, allocations: 2.775 MB / 1.382 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007686/0.9999, allocations: 0.7547 MB / 1.382 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1, allocations: 52 kB / 1.382 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1, allocations: 427.8 kB / 1.383 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/1.001, allocations: 0.7864 MB / 1.384 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/1.003, allocations: 1.787 MB / 1.385 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/1.005, allocations: 1.077 MB / 1.386 GB, free: 5.621 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.005, allocations: 4 kB / 1.386 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007202/1.012, allocations: 3.504 MB / 1.39 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003371/1.016, allocations: 10.3 MB / 1.4 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/1.016, allocations: 20 kB / 1.4 GB, free: 6.949 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/1.018, allocations: 0.5806 MB / 1.401 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.02, allocations: 0.5538 MB / 1.401 GB, free: 5.801 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/1.022, allocations: 2.678 MB / 1.404 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/1.026, allocations: 0.6334 MB / 1.404 GB, free: 2.383 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/1.027, allocations: 136 kB / 1.404 GB, free: 2.25 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.027, allocations: 4 kB / 1.404 GB, free: 2.246 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004547/1.031, allocations: 2.802 MB / 1.407 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/1.031, allocations: 20 kB / 1.407 GB, free: 15.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008816/1.032, allocations: 379.4 kB / 1.408 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.034, allocations: 0.5538 MB / 1.408 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007742/1.041, allocations: 7.787 MB / 1.416 GB, free: 6.055 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/1.046, allocations: 0.5822 MB / 1.416 GB, free: 5.473 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/1.046, allocations: 140 kB / 1.416 GB, free: 5.336 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * 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 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002066/1.048, allocations: 0.9967 MB / 1.417 GB, free: 4.328 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.049, allocations: 0.5016 MB / 1.418 GB, free: 3.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005673/1.055, allocations: 3.577 MB / 1.421 GB, free: 180 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/1.055, allocations: 39.92 kB / 1.421 GB, free: 140 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.055, allocations: 0 / 1.421 GB, free: 140 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003421/1.058, allocations: 2.443 MB / 1.424 GB, free: 13.64 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.014/1.072, allocations: 8.283 MB / 1.432 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/1.072, allocations: 0 / 1.432 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.074, allocations: 363.5 kB / 1.432 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006661/1.074, allocations: 307.1 kB / 1.432 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/1.074, allocations: 67.95 kB / 1.433 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/1.076, allocations: 2.49 MB / 1.435 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.076, allocations: 4.25 kB / 1.435 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4128/1.489, allocations: 4.423 MB / 1.439 GB, free: 351.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003279/1.492, allocations: 1.025 MB / 1.44 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/1.493, allocations: 46.78 kB / 1.44 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003988/1.497, allocations: 422.7 kB / 1.441 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/1.498, allocations: 148.5 kB / 1.441 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/1.498, allocations: 111.2 kB / 1.441 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00678/1.505, allocations: 2.907 MB / 1.444 GB, free: 350.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-07/1.505, allocations: 0 / 1.444 GB, free: 350.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0142/1.519, allocations: 3.322 MB / 1.447 GB, free: 350.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0124/1.532, allocations: 6.399 MB / 1.453 GB, free: 347.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009416/1.541, allocations: 4.397 MB / 1.458 GB, free: 345.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.541, allocations: 2.531 kB / 1.458 GB, free: 345.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002689/1.544, allocations: 1.226 MB / 1.459 GB, free: 345.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01552/1.559, allocations: 2.642 MB / 1.461 GB, free: 344.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02454/1.584, allocations: 29.32 MB / 1.49 GB, free: 320.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/1.586, allocations: 2.979 MB / 1.493 GB, free: 319.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005324/1.592, allocations: 1.176 MB / 1.494 GB, free: 319.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003175/1.595, allocations: 2.524 MB / 1.497 GB, free: 317.3 MB / 0.9636 GB Notification: Performance of SimCode: time 9.72e-07/1.595, allocations: 0 / 1.497 GB, free: 317.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.238/3.833, allocations: 148.6 MB / 1.642 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/3.834, allocations: 269.2 kB / 1.642 GB, free: 184.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/11.82, allocations: 0 / 1.642 GB, free: 184.6 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)