Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.747/2.747, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001455/0.001455, allocations: 174.6 kB / 371 MB, free: 10.88 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.273/2.273, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009613/0.0009607, allocations: 81.36 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.000519, allocations: 13.72 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2489, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 1.077/1.326, allocations: 226.8 MB / 1.2 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02575/1.352, allocations: 11.17 MB / 1.211 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/1.355, allocations: 60.12 kB / 1.211 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003919/1.359, allocations: 0.7021 MB / 1.212 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/1.37, allocations: 2.391 MB / 1.214 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00579/1.376, allocations: 1.159 MB / 1.215 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01041/1.386, allocations: 5.382 MB / 1.22 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/1.389, allocations: 1.106 MB / 1.221 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006076/1.395, allocations: 1.675 MB / 1.223 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/1.399, allocations: 1.225 MB / 1.224 GB, free: 296 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006455/1.4, allocations: 64 kB / 1.224 GB, free: 232 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006522/1.406, allocations: 1.313 MB / 1.226 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/1.408, allocations: 434.4 kB / 1.226 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/1.409, allocations: 392.8 kB / 1.226 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005973/1.415, allocations: 2.303 MB / 1.229 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.415, allocations: 0 / 1.229 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.446e-06/1.415, allocations: 0 / 1.229 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001022/1.415, allocations: 4 kB / 1.229 GB, free: 11.78 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006342/1.421, allocations: 1.924 MB / 1.23 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/1.422, allocations: 12.03 kB / 1.23 GB, free: 9.789 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005607/1.422, allocations: 164.9 kB / 1.231 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002696/1.425, allocations: 357.4 kB / 1.231 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/1.429, allocations: 1.279 MB / 1.232 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/1.429, allocations: 90.14 kB / 1.232 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/1.429, allocations: 123.9 kB / 1.232 GB, free: 7.723 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/1.433, allocations: 1.209 MB / 1.234 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/1.433, allocations: 0 / 1.234 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/1.433, allocations: 48 kB / 1.234 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.25e-05/1.434, allocations: 50.08 kB / 1.234 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/1.437, allocations: 0.9725 MB / 1.235 GB, free: 5.387 MB / 0.7605 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.01208/1.449, allocations: 5.529 MB / 1.24 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/1.452, allocations: 0.88 MB / 1.241 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.453, allocations: 413 kB / 1.241 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008659/1.454, allocations: 0.5979 MB / 1.242 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/1.454, allocations: 47.12 kB / 1.242 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.727e-06/1.454, allocations: 0 / 1.242 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.00649/1.46, allocations: 1.465 MB / 1.243 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/1.461, allocations: 59.97 kB / 1.243 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/1.463, allocations: 1.186 MB / 1.245 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002387/1.463, allocations: 45.7 kB / 1.245 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008612/1.464, allocations: 0.681 MB / 1.245 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/1.465, allocations: 244.4 kB / 1.246 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/1.465, allocations: 16 kB / 1.246 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.465, allocations: 339.5 kB / 1.246 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.466, allocations: 305.8 kB / 1.246 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/1.467, allocations: 0.5271 MB / 1.247 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/1.469, allocations: 382.7 kB / 1.247 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.469, allocations: 4 kB / 1.247 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004061/1.473, allocations: 1.071 MB / 1.248 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/1.473, allocations: 167.3 kB / 1.248 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.473, allocations: 4 kB / 1.248 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/1.474, allocations: 145.5 kB / 1.248 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.476, allocations: 183.7 kB / 1.249 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/1.478, allocations: 1.765 MB / 1.25 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/1.48, allocations: 175.2 kB / 1.25 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/1.48, allocations: 28 kB / 1.25 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.48, allocations: 4 kB / 1.25 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002998/1.484, allocations: 0.8682 MB / 1.251 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.484, allocations: 4 kB / 1.251 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/1.484, allocations: 97.58 kB / 1.251 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.485, allocations: 160 kB / 1.252 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/1.49, allocations: 3.141 MB / 1.255 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/1.492, allocations: 167.2 kB / 1.255 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.492, allocations: 28 kB / 1.255 GB, free: 15.5 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00113/1.493, allocations: 451 kB / 1.255 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004893/1.494, allocations: 138.3 kB / 1.255 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/1.497, allocations: 0.9541 MB / 1.256 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/1.497, allocations: 12 kB / 1.256 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/1.497, allocations: 0 / 1.256 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00267/1.5, allocations: 1.075 MB / 1.257 GB, free: 12.76 MB / 0.7917 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.007111/1.507, allocations: 2.47 MB / 1.26 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.507, allocations: 4 kB / 1.26 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.509, allocations: 163.8 kB / 1.26 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004064/1.509, allocations: 89.89 kB / 1.26 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/1.509, allocations: 20 kB / 1.26 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/1.511, allocations: 1.742 MB / 1.262 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.511, allocations: 4.188 kB / 1.262 GB, free: 8.082 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/1.515, allocations: 1.466 MB / 1.263 GB, free: 6.566 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.516, allocations: 331.1 kB / 1.264 GB, free: 6.223 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/1.516, allocations: 12 kB / 1.264 GB, free: 6.211 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/1.518, allocations: 121.3 kB / 1.264 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.519, allocations: 52.44 kB / 1.264 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.519, allocations: 31.98 kB / 1.264 GB, free: 6.008 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001864/1.521, allocations: 0.8044 MB / 1.265 GB, free: 5.203 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.41e-07/1.521, allocations: 4 kB / 1.265 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003676/1.524, allocations: 0.8027 MB / 1.265 GB, free: 4.395 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0055/1.53, allocations: 2.242 MB / 1.267 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004958/1.535, allocations: 1.464 MB / 1.269 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.535, allocations: 0 / 1.269 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/1.536, allocations: 415.8 kB / 1.269 GB, free: 212 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007361/1.544, allocations: 0.7861 MB / 1.27 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02601/1.57, allocations: 8.412 MB / 1.278 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.571, allocations: 1.281 MB / 1.28 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002504/1.574, allocations: 356.4 kB / 1.28 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.575, allocations: 0.5696 MB / 1.28 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of SimCode: time 1.904e-06/1.575, allocations: 0 / 1.28 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/1.699, allocations: 40.75 MB / 1.32 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/1.699, allocations: 281.8 kB / 1.321 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.548/6.247, allocations: 0 / 1.321 GB, free: 11.82 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)