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.827/2.827, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001593/0.001593, allocations: 173.1 kB / 370.8 MB, free: 10.86 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.199/2.199, allocations: 205.4 MB / 0.6295 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.001228/0.001228, allocations: 101.8 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.000521, allocations: 16.36 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 1.014/1.238, allocations: 205.4 MB / 1.179 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02624/1.265, allocations: 10.99 MB / 1.19 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/1.268, allocations: 58.16 kB / 1.19 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00523/1.273, allocations: 0.9641 MB / 1.191 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01434/1.288, allocations: 3.019 MB / 1.194 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007928/1.296, allocations: 1.665 MB / 1.195 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007858/1.304, allocations: 2.734 MB / 1.198 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/1.307, allocations: 1.129 MB / 1.199 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005506/1.312, allocations: 1.454 MB / 1.2 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/1.315, allocations: 0.8321 MB / 1.201 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004516/1.315, allocations: 60.94 kB / 1.201 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/1.321, allocations: 1.162 MB / 1.202 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/1.322, allocations: 398.6 kB / 1.203 GB, free: 464 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/1.323, allocations: 397.4 kB / 1.203 GB, free: 248 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005335/1.328, allocations: 2.203 MB / 1.205 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.328, allocations: 0 / 1.205 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.254e-06/1.328, allocations: 0 / 1.205 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.218e-05/1.328, allocations: 0 / 1.205 GB, free: 14.73 MB / 0.7448 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.006083/1.334, allocations: 1.9 MB / 1.207 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.334, allocations: 7.375 kB / 1.207 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005187/1.335, allocations: 163.8 kB / 1.207 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/1.338, allocations: 356.4 kB / 1.208 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/1.342, allocations: 1.251 MB / 1.209 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/1.342, allocations: 87.81 kB / 1.209 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/1.342, allocations: 120.1 kB / 1.209 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003513/1.346, allocations: 1.209 MB / 1.21 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/1.346, allocations: 2.531 kB / 1.21 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/1.346, allocations: 42.31 kB / 1.21 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-05/1.346, allocations: 52.23 kB / 1.21 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/1.349, allocations: 0.964 MB / 1.211 GB, free: 10.68 MB / 0.7448 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.01205/1.361, allocations: 5.542 MB / 1.217 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/1.363, allocations: 0.8944 MB / 1.218 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/1.364, allocations: 434.1 kB / 1.218 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/1.364, allocations: 43.12 kB / 1.218 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=70): time 4.749e-06/1.364, allocations: 0 / 1.218 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.006603/1.371, allocations: 1.462 MB / 1.219 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/1.371, allocations: 59.95 kB / 1.219 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.374, allocations: 1.209 MB / 1.221 GB, free: 400 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.374, allocations: 45.7 kB / 1.221 GB, free: 348 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008738/1.375, allocations: 0.6771 MB / 1.221 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000406/1.375, allocations: 244.4 kB / 1.222 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.667e-05/1.375, allocations: 16 kB / 1.222 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.375, allocations: 337.9 kB / 1.222 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.377, allocations: 297.8 kB / 1.222 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/1.378, allocations: 0.5309 MB / 1.223 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.379, allocations: 378.8 kB / 1.223 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.379, allocations: 0 / 1.223 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004097/1.383, allocations: 1.075 MB / 1.224 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005658/1.384, allocations: 1.084 MB / 1.225 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.384, allocations: 4.688 kB / 1.225 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/1.385, allocations: 149.5 kB / 1.225 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/1.387, allocations: 183.8 kB / 1.226 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/1.389, allocations: 1.769 MB / 1.227 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.391, allocations: 181.9 kB / 1.227 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/1.391, allocations: 35.98 kB / 1.227 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.391, allocations: 4 kB / 1.227 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003/1.394, allocations: 0.8565 MB / 1.228 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.394, allocations: 7.984 kB / 1.228 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004789/1.395, allocations: 89.66 kB / 1.228 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.396, allocations: 164 kB / 1.229 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/1.401, allocations: 3.157 MB / 1.232 GB, free: 4.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/1.403, allocations: 163.1 kB / 1.232 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/1.403, allocations: 35.98 kB / 1.232 GB, free: 4.398 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.001153/1.405, allocations: 440.9 kB / 1.232 GB, free: 3.957 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/1.405, allocations: 146.3 kB / 1.232 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/1.408, allocations: 0.958 MB / 1.233 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.408, allocations: 8.25 kB / 1.233 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.408, allocations: 0 / 1.233 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00259/1.411, allocations: 1.067 MB / 1.234 GB, free: 1.668 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 postOpt removeSimpleEquations (simulation): time 0.007553/1.418, allocations: 2.538 MB / 1.237 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.418, allocations: 4 kB / 1.237 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/1.42, allocations: 159.8 kB / 1.237 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/1.42, allocations: 97.92 kB / 1.237 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.421, allocations: 23.95 kB / 1.237 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/1.422, allocations: 1.742 MB / 1.239 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.422, allocations: 3.938 kB / 1.239 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004794/1.427, allocations: 1.631 MB / 1.24 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.428, allocations: 331.1 kB / 1.241 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/1.429, allocations: 19.98 kB / 1.241 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/1.431, allocations: 115.4 kB / 1.241 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/1.431, allocations: 60.39 kB / 1.241 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.432, allocations: 27.98 kB / 1.241 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002106/1.434, allocations: 0.8239 MB / 1.242 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.42e-07/1.434, allocations: 0 / 1.242 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004027/1.438, allocations: 0.8106 MB / 1.243 GB, free: 8.938 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.006258/1.444, allocations: 3.142 MB / 1.246 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005215/1.449, allocations: 1.464 MB / 1.247 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.449, allocations: 0 / 1.247 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.451, allocations: 415.7 kB / 1.247 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007345/1.458, allocations: 0.7867 MB / 1.248 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.47, allocations: 5.702 MB / 1.254 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.471, allocations: 1.312 MB / 1.255 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002726/1.474, allocations: 351.2 kB / 1.255 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.476, allocations: 0.5735 MB / 1.256 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of SimCode: time 1.402e-06/1.476, allocations: 0 / 1.256 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/1.602, allocations: 40.26 MB / 1.295 GB, free: 3.156 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/1.603, allocations: 273.4 kB / 1.296 GB, free: 2.801 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.257/5.86, allocations: 0 / 1.296 GB, free: 2.801 MB / 0.823 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)