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.727/1.727, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.0009994/0.0009994, allocations: 178.2 kB / 372 MB, free: 10.29 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.42/1.42, allocations: 205.4 MB / 0.6307 GB, free: 9.945 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.0007368/0.0007372, allocations: 93.31 kB / 0.744 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003967, allocations: 16.14 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6584/0.8647, allocations: 277.6 MB / 1.251 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.06692/0.9317, allocations: 46.54 MB / 1.296 GB, free: 9.129 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.9419, allocations: 250.2 kB / 1.296 GB, free: 8.883 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.952, allocations: 2.387 MB / 1.299 GB, free: 6.48 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02513/0.9772, allocations: 7.219 MB / 1.306 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01661/0.9938, allocations: 4.815 MB / 1.31 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02953/1.023, allocations: 20.98 MB / 1.331 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/1.034, allocations: 4.276 MB / 1.335 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01592/1.05, allocations: 5.914 MB / 1.341 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009865/1.06, allocations: 4.608 MB / 1.345 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0029/1.063, allocations: 232 kB / 1.346 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/1.075, allocations: 2.635 MB / 1.348 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.002732/1.078, allocations: 1.057 MB / 1.349 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.003593/1.081, allocations: 1.373 MB / 1.351 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/1.093, allocations: 7.438 MB / 1.358 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.093, allocations: 4 kB / 1.358 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.585e-06/1.093, allocations: 0 / 1.358 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003449/1.093, allocations: 0 / 1.358 GB, free: 9.719 MB / 0.8855 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.01255/1.106, allocations: 6.244 MB / 1.364 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.106, allocations: 12.03 kB / 1.364 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00136/1.107, allocations: 0.5434 MB / 1.364 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/1.11, allocations: 0.7842 MB / 1.365 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/1.121, allocations: 4.959 MB / 1.37 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/1.121, allocations: 320.1 kB / 1.37 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009855/1.122, allocations: 439.9 kB / 1.371 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008914/1.131, allocations: 4.35 MB / 1.375 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.303e-05/1.131, allocations: 19.81 kB / 1.375 GB, free: 7.555 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003738/1.131, allocations: 172 kB / 1.375 GB, free: 7.387 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/1.132, allocations: 123.9 kB / 1.375 GB, free: 7.266 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005601/1.137, allocations: 2.941 MB / 1.378 GB, free: 4.32 MB / 0.9011 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.02822/1.165, allocations: 25.04 MB / 1.403 GB, free: 9.238 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/1.169, allocations: 2.745 MB / 1.405 GB, free: 6.277 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/1.17, allocations: 0.9915 MB / 1.406 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003273/1.174, allocations: 3.927 MB / 1.41 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/1.174, allocations: 56.56 kB / 1.41 GB, free: 440 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=217): time 4.478e-06/1.174, allocations: 0 / 1.41 GB, free: 440 kB / 0.9323 GB Notification: Performance of matching and sorting (n=217): time 0.01112/1.185, allocations: 4.065 MB / 1.414 GB, free: 12.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/1.185, allocations: 77.34 kB / 1.414 GB, free: 12.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006445/1.191, allocations: 4.164 MB / 1.418 GB, free: 8.039 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004756/1.192, allocations: 85.69 kB / 1.418 GB, free: 7.949 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.194, allocations: 2.759 MB / 1.421 GB, free: 5.172 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009996/1.195, allocations: 0.7702 MB / 1.422 GB, free: 4.391 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.195, allocations: 56 kB / 1.422 GB, free: 4.336 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000214/1.195, allocations: 415.9 kB / 1.422 GB, free: 3.926 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.197, allocations: 0.7865 MB / 1.423 GB, free: 3.137 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/1.199, allocations: 1.798 MB / 1.425 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3851/1.584, allocations: 1.073 MB / 1.426 GB, free: 339.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/1.584, allocations: 8.141 kB / 1.426 GB, free: 339.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008654/1.593, allocations: 3.493 MB / 1.429 GB, free: 338.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003492/1.593, allocations: 0.7459 MB / 1.43 GB, free: 337.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/1.593, allocations: 21.95 kB / 1.43 GB, free: 337.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/1.596, allocations: 0.5663 MB / 1.431 GB, free: 337.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.598, allocations: 0.5622 MB / 1.431 GB, free: 337.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/1.6, allocations: 2.69 MB / 1.434 GB, free: 335.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/1.605, allocations: 0.6225 MB / 1.434 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004587/1.606, allocations: 137.6 kB / 1.435 GB, free: 335.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.606, allocations: 3.844 kB / 1.435 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00569/1.612, allocations: 2.795 MB / 1.437 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/1.612, allocations: 25.73 kB / 1.437 GB, free: 334.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/1.613, allocations: 373.1 kB / 1.438 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.615, allocations: 0.5575 MB / 1.438 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007323/1.622, allocations: 7.696 MB / 1.446 GB, free: 327.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/1.627, allocations: 0.5759 MB / 1.446 GB, free: 327.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003491/1.627, allocations: 132.6 kB / 1.446 GB, free: 327.5 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.002273/1.63, allocations: 0.9983 MB / 1.447 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.631, allocations: 0.5033 MB / 1.448 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005922/1.637, allocations: 3.578 MB / 1.451 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/1.637, allocations: 36.5 kB / 1.451 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.637, allocations: 0.7969 kB / 1.451 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00364/1.64, allocations: 2.432 MB / 1.454 GB, free: 324.2 MB / 0.948 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.01444/1.655, allocations: 8.201 MB / 1.462 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.655, allocations: 0.5156 kB / 1.462 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.656, allocations: 363.3 kB / 1.462 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000677/1.657, allocations: 307.1 kB / 1.462 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.657, allocations: 64.28 kB / 1.462 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/1.658, allocations: 2.495 MB / 1.465 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.659, allocations: 5.281 kB / 1.465 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007151/1.666, allocations: 4.329 MB / 1.469 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/1.668, allocations: 0.9718 MB / 1.47 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008752/1.669, allocations: 43.34 kB / 1.47 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/1.673, allocations: 429 kB / 1.471 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/1.673, allocations: 152.2 kB / 1.471 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/1.673, allocations: 112.6 kB / 1.471 GB, free: 315 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004793/1.678, allocations: 2.726 MB / 1.473 GB, free: 314 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.678, allocations: 0 / 1.473 GB, free: 314 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01196/1.69, allocations: 3.264 MB / 1.477 GB, free: 313.4 MB / 0.948 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.008559/1.699, allocations: 6.046 MB / 1.483 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006456/1.705, allocations: 4.399 MB / 1.487 GB, free: 308.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.705, allocations: 6.828 kB / 1.487 GB, free: 308.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.707, allocations: 1.232 MB / 1.488 GB, free: 308.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01376/1.721, allocations: 2.682 MB / 1.491 GB, free: 307.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05866/1.779, allocations: 35.71 MB / 1.526 GB, free: 273.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/1.782, allocations: 2.861 MB / 1.528 GB, free: 270.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005482/1.787, allocations: 1.157 MB / 1.529 GB, free: 269 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002696/1.79, allocations: 2.518 MB / 1.532 GB, free: 266.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/1.79, allocations: 8 kB / 1.532 GB, free: 266.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1945/1.984, allocations: 148.2 MB / 1.677 GB, free: 119.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.985, allocations: 275 kB / 1.677 GB, free: 118.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/8.711, allocations: 0 / 1.677 GB, free: 118.9 MB / 0.948 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)