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 1.752/1.752, allocations: 287.4 MB / 302.5 MB, free: 8.293 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.001198/0.001198, allocations: 185 kB / 371.1 MB, free: 10.83 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.445/1.445, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009402/0.0009402, allocations: 90.14 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.000417, allocations: 13.42 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2461, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7759/1.022, allocations: 277.6 MB / 1.25 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.06864/1.091, allocations: 46.56 MB / 1.295 GB, free: 10.21 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01292/1.104, allocations: 250.3 kB / 1.296 GB, free: 9.969 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01244/1.116, allocations: 2.383 MB / 1.298 GB, free: 7.57 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02714/1.143, allocations: 7.218 MB / 1.305 GB, free: 332 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01752/1.161, allocations: 4.814 MB / 1.31 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.03424/1.195, allocations: 21.08 MB / 1.33 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/1.21, allocations: 4.641 MB / 1.335 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01893/1.229, allocations: 5.911 MB / 1.34 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/1.24, allocations: 4.604 MB / 1.345 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.003325/1.243, allocations: 232 kB / 1.345 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/1.257, allocations: 2.646 MB / 1.348 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.003441/1.26, allocations: 1.054 MB / 1.349 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.004377/1.265, allocations: 1.373 MB / 1.35 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01935/1.284, allocations: 7.438 MB / 1.357 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.284, allocations: 0 / 1.357 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.865e-06/1.284, allocations: 0 / 1.357 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005076/1.285, allocations: 0 / 1.357 GB, free: 10.35 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.02015/1.305, allocations: 6.183 MB / 1.363 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.126e-05/1.305, allocations: 12.03 kB / 1.363 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002659/1.308, allocations: 0.5357 MB / 1.364 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/1.312, allocations: 0.7803 MB / 1.365 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01835/1.33, allocations: 5.177 MB / 1.37 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005863/1.331, allocations: 316.1 kB / 1.37 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/1.332, allocations: 435.9 kB / 1.371 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/1.347, allocations: 4.362 MB / 1.375 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/1.347, allocations: 23.78 kB / 1.375 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009637/1.348, allocations: 172 kB / 1.375 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/1.348, allocations: 116 kB / 1.375 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008636/1.357, allocations: 2.937 MB / 1.378 GB, free: 4.809 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.041/1.398, allocations: 25.04 MB / 1.402 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/1.402, allocations: 2.752 MB / 1.405 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/1.404, allocations: 0.9915 MB / 1.406 GB, free: 5.77 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003215/1.407, allocations: 3.92 MB / 1.41 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/1.407, allocations: 64.5 kB / 1.41 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=217): time 5.23e-06/1.407, allocations: 0 / 1.41 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of matching and sorting (n=217): time 0.01062/1.417, allocations: 4.1 MB / 1.414 GB, free: 12.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/1.418, allocations: 77.41 kB / 1.414 GB, free: 12.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006753/1.424, allocations: 4.16 MB / 1.418 GB, free: 8.484 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005601/1.425, allocations: 77.7 kB / 1.418 GB, free: 8.402 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002377/1.427, allocations: 2.769 MB / 1.421 GB, free: 5.613 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.428, allocations: 0.7664 MB / 1.422 GB, free: 4.836 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.429, allocations: 60 kB / 1.422 GB, free: 4.777 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000207/1.429, allocations: 411.9 kB / 1.422 GB, free: 4.371 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/1.43, allocations: 0.7826 MB / 1.423 GB, free: 3.586 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/1.432, allocations: 1.81 MB / 1.425 GB, free: 1.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4724/1.905, allocations: 2.461 MB / 1.427 GB, free: 339.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.612e-05/1.905, allocations: 5.625 kB / 1.427 GB, free: 339.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008735/1.914, allocations: 3.503 MB / 1.43 GB, free: 338.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003873/1.914, allocations: 0.7427 MB / 1.431 GB, free: 337.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/1.914, allocations: 22.62 kB / 1.431 GB, free: 337.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/1.917, allocations: 0.5587 MB / 1.432 GB, free: 337.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/1.919, allocations: 0.5629 MB / 1.432 GB, free: 337.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/1.921, allocations: 2.684 MB / 1.435 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005366/1.926, allocations: 0.6094 MB / 1.435 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005055/1.927, allocations: 137.2 kB / 1.436 GB, free: 335.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.927, allocations: 4.75 kB / 1.436 GB, free: 335.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005456/1.932, allocations: 2.809 MB / 1.438 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/1.932, allocations: 25.17 kB / 1.438 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.933, allocations: 366.8 kB / 1.439 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/1.935, allocations: 0.556 MB / 1.439 GB, free: 333.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007478/1.943, allocations: 7.714 MB / 1.447 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005215/1.948, allocations: 0.5688 MB / 1.447 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005245/1.949, allocations: 133.7 kB / 1.447 GB, free: 327.3 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.002601/1.951, allocations: 1.008 MB / 1.448 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.953, allocations: 0.5037 MB / 1.449 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006215/1.959, allocations: 3.565 MB / 1.452 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-05/1.959, allocations: 36.61 kB / 1.452 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.959, allocations: 0.75 kB / 1.452 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003781/1.963, allocations: 2.434 MB / 1.455 GB, free: 324.1 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.01811/1.981, allocations: 8.2 MB / 1.463 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.981, allocations: 1.578 kB / 1.463 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/1.982, allocations: 366.7 kB / 1.463 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007816/1.983, allocations: 311.2 kB / 1.464 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/1.983, allocations: 69.09 kB / 1.464 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/1.985, allocations: 2.496 MB / 1.466 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.985, allocations: 1.438 kB / 1.466 GB, free: 317.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008743/1.994, allocations: 4.324 MB / 1.47 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003778/1.997, allocations: 0.9736 MB / 1.471 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/1.999, allocations: 48.69 kB / 1.471 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004667/2.004, allocations: 424.5 kB / 1.472 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/2.004, allocations: 150.3 kB / 1.472 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003556/2.004, allocations: 112.3 kB / 1.472 GB, free: 314.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006249/2.011, allocations: 2.731 MB / 1.475 GB, free: 314 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/2.011, allocations: 2.375 kB / 1.475 GB, free: 314 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01547/2.026, allocations: 3.256 MB / 1.478 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.01092/2.037, allocations: 6.046 MB / 1.484 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007341/2.045, allocations: 4.396 MB / 1.488 GB, free: 308.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.045, allocations: 3.969 kB / 1.488 GB, free: 308.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/2.047, allocations: 1.226 MB / 1.489 GB, free: 308.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01501/2.062, allocations: 2.642 MB / 1.492 GB, free: 307.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06366/2.125, allocations: 35.72 MB / 1.527 GB, free: 273.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/2.127, allocations: 2.865 MB / 1.529 GB, free: 271 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005191/2.133, allocations: 1.157 MB / 1.531 GB, free: 269.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003829/2.136, allocations: 2.518 MB / 1.533 GB, free: 267.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/2.136, allocations: 0 / 1.533 GB, free: 267.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4255/2.562, allocations: 148.3 MB / 1.678 GB, free: 120 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/2.562, allocations: 250.8 kB / 1.678 GB, free: 119.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/9.46, allocations: 0 / 1.678 GB, free: 119.6 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)