Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.642/2.642, allocations: 287.5 MB / 302.4 MB, free: 8.211 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.001388/0.001388, allocations: 182.4 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.289/2.289, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009115/0.0009112, allocations: 88.27 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004689, allocations: 11.45 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.094/1.31, allocations: 277.5 MB / 1.249 GB, free: 9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.09616/1.406, allocations: 46.56 MB / 1.295 GB, free: 10.35 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01101/1.417, allocations: 246.3 kB / 1.295 GB, free: 10.11 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0121/1.429, allocations: 2.383 MB / 1.298 GB, free: 7.707 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.03184/1.461, allocations: 7.223 MB / 1.305 GB, free: 468 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02232/1.483, allocations: 4.821 MB / 1.309 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.03866/1.522, allocations: 20.98 MB / 1.33 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01285/1.535, allocations: 4.28 MB / 1.334 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01975/1.555, allocations: 5.911 MB / 1.34 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01248/1.567, allocations: 4.6 MB / 1.344 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002818/1.57, allocations: 232 kB / 1.344 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/1.586, allocations: 2.643 MB / 1.347 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.003261/1.589, allocations: 1.061 MB / 1.348 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.004439/1.594, allocations: 1.373 MB / 1.349 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01723/1.611, allocations: 7.43 MB / 1.357 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/1.611, allocations: 3.984 kB / 1.357 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.925e-06/1.611, allocations: 4 kB / 1.357 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003961/1.611, allocations: 4 kB / 1.357 GB, free: 10.95 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.01907/1.63, allocations: 6.242 MB / 1.363 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.63, allocations: 12.03 kB / 1.363 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001763/1.632, allocations: 0.5395 MB / 1.363 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/1.636, allocations: 0.7803 MB / 1.364 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/1.652, allocations: 4.966 MB / 1.369 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004536/1.652, allocations: 324 kB / 1.369 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/1.654, allocations: 435.9 kB / 1.37 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/1.667, allocations: 4.354 MB / 1.374 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/1.667, allocations: 15.88 kB / 1.374 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006821/1.668, allocations: 172 kB / 1.374 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/1.668, allocations: 119.9 kB / 1.374 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/1.679, allocations: 2.949 MB / 1.377 GB, free: 5.559 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.04869/1.727, allocations: 25.02 MB / 1.401 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005341/1.733, allocations: 2.748 MB / 1.404 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/1.736, allocations: 0.9953 MB / 1.405 GB, free: 6.535 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004383/1.74, allocations: 3.92 MB / 1.409 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/1.74, allocations: 56.56 kB / 1.409 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=217): time 4.889e-06/1.74, allocations: 4 kB / 1.409 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=217): time 0.01865/1.759, allocations: 4.072 MB / 1.413 GB, free: 13.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/1.759, allocations: 73.41 kB / 1.413 GB, free: 13.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/1.77, allocations: 4.16 MB / 1.417 GB, free: 9.289 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005976/1.77, allocations: 77.7 kB / 1.417 GB, free: 9.207 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003601/1.774, allocations: 2.769 MB / 1.42 GB, free: 6.418 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.775, allocations: 0.7741 MB / 1.421 GB, free: 5.633 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/1.776, allocations: 56 kB / 1.421 GB, free: 5.578 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002917/1.776, allocations: 411.9 kB / 1.421 GB, free: 5.172 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/1.778, allocations: 0.7864 MB / 1.422 GB, free: 4.383 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/1.783, allocations: 1.802 MB / 1.424 GB, free: 2.145 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/1.786, allocations: 1.077 MB / 1.425 GB, free: 1.047 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-05/1.786, allocations: 11.95 kB / 1.425 GB, free: 1.035 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.6311/2.418, allocations: 3.486 MB / 1.428 GB, free: 339.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005/2.418, allocations: 0.7437 MB / 1.429 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/2.418, allocations: 23.86 kB / 1.429 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00454/2.423, allocations: 0.5713 MB / 1.429 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005658/2.428, allocations: 0.5529 MB / 1.43 GB, free: 338.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/2.433, allocations: 2.685 MB / 1.433 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009523/2.443, allocations: 0.6102 MB / 1.433 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007315/2.444, allocations: 136.3 kB / 1.433 GB, free: 336.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/2.444, allocations: 8.469 kB / 1.433 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009304/2.453, allocations: 2.804 MB / 1.436 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.596e-05/2.453, allocations: 22 kB / 1.436 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/2.455, allocations: 377.5 kB / 1.436 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/2.459, allocations: 0.5587 MB / 1.437 GB, free: 334.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/2.47, allocations: 7.701 MB / 1.445 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007527/2.478, allocations: 0.5744 MB / 1.445 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006087/2.479, allocations: 132.4 kB / 1.445 GB, free: 328.2 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.003297/2.482, allocations: 1.001 MB / 1.446 GB, free: 327.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/2.484, allocations: 0.4999 MB / 1.447 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/2.494, allocations: 3.579 MB / 1.45 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.412e-05/2.495, allocations: 38.92 kB / 1.45 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/2.495, allocations: 0.6562 kB / 1.45 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006638/2.501, allocations: 2.427 MB / 1.453 GB, free: 324.8 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.02327/2.525, allocations: 8.21 MB / 1.461 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/2.525, allocations: 5.047 kB / 1.461 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/2.528, allocations: 362.6 kB / 1.461 GB, free: 320.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/2.529, allocations: 301.8 kB / 1.461 GB, free: 320.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004561/2.529, allocations: 62.78 kB / 1.461 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/2.532, allocations: 2.503 MB / 1.464 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/2.532, allocations: 5.328 kB / 1.464 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/2.544, allocations: 4.325 MB / 1.468 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003677/2.548, allocations: 0.9736 MB / 1.469 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/2.549, allocations: 43.09 kB / 1.469 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007026/2.556, allocations: 429.8 kB / 1.469 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/2.557, allocations: 149.1 kB / 1.469 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004214/2.557, allocations: 119.2 kB / 1.47 GB, free: 315.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007849/2.565, allocations: 2.726 MB / 1.472 GB, free: 314.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.202e-06/2.565, allocations: 1.594 kB / 1.472 GB, free: 314.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01653/2.582, allocations: 3.262 MB / 1.475 GB, free: 314.1 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.01536/2.597, allocations: 6.043 MB / 1.481 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01189/2.609, allocations: 4.392 MB / 1.486 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.609, allocations: 0 / 1.486 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003584/2.613, allocations: 1.236 MB / 1.487 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0227/2.635, allocations: 2.687 MB / 1.489 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09392/2.729, allocations: 35.69 MB / 1.524 GB, free: 274.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003772/2.733, allocations: 2.865 MB / 1.527 GB, free: 272.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007428/2.741, allocations: 1.167 MB / 1.528 GB, free: 270.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00482/2.746, allocations: 2.518 MB / 1.531 GB, free: 268.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.343e-06/2.746, allocations: 0 / 1.531 GB, free: 268.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3505/3.096, allocations: 148.1 MB / 1.675 GB, free: 121.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/3.097, allocations: 258.4 kB / 1.676 GB, free: 120.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.356/12.45, allocations: 3.938 kB / 1.676 GB, free: 120.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)