Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.001005/0.001005, allocations: 180.5 kB / 372.2 MB, free: 10.13 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.696/1.696, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0009161/0.0009161, allocations: 94.36 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004478, allocations: 17.12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.9028/1.151, allocations: 226.8 MB / 1.202 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01996/1.171, allocations: 11.16 MB / 1.213 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003726/1.174, allocations: 63.12 kB / 1.213 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003557/1.178, allocations: 0.7661 MB / 1.213 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/1.189, allocations: 2.732 MB / 1.216 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/1.194, allocations: 1.181 MB / 1.217 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009529/1.203, allocations: 5.422 MB / 1.222 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/1.207, allocations: 1.216 MB / 1.224 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0065/1.213, allocations: 1.746 MB / 1.225 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/1.217, allocations: 1.229 MB / 1.227 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005062/1.218, allocations: 60 kB / 1.227 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00681/1.224, allocations: 2.377 MB / 1.229 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/1.226, allocations: 434.3 kB / 1.229 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002769/1.228, allocations: 0.861 MB / 1.23 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005314/1.234, allocations: 2.424 MB / 1.233 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.234, allocations: 0 / 1.233 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.763e-06/1.234, allocations: 0 / 1.233 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001233/1.234, allocations: 0 / 1.233 GB, free: 8.02 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.00502/1.239, allocations: 1.913 MB / 1.234 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/1.239, allocations: 12.03 kB / 1.234 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004707/1.239, allocations: 172.9 kB / 1.235 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/1.241, allocations: 341.5 kB / 1.235 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/1.244, allocations: 1.346 MB / 1.236 GB, free: 4.121 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/1.244, allocations: 86.16 kB / 1.236 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/1.244, allocations: 120 kB / 1.236 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/1.247, allocations: 1.217 MB / 1.238 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/1.247, allocations: 0 / 1.238 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.247, allocations: 48 kB / 1.238 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/1.247, allocations: 38.14 kB / 1.238 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/1.249, allocations: 0.9725 MB / 1.239 GB, free: 1.586 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.008299/1.257, allocations: 5.547 MB / 1.244 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/1.259, allocations: 0.8644 MB / 1.245 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/1.26, allocations: 412.9 kB / 1.245 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/1.261, allocations: 0.6097 MB / 1.246 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/1.261, allocations: 43.12 kB / 1.246 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.687e-06/1.261, allocations: 0 / 1.246 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.004443/1.265, allocations: 1.461 MB / 1.247 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/1.265, allocations: 59.97 kB / 1.247 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/1.267, allocations: 1.186 MB / 1.249 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/1.267, allocations: 45.7 kB / 1.249 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005644/1.268, allocations: 0.677 MB / 1.249 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/1.268, allocations: 248.4 kB / 1.25 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/1.268, allocations: 16 kB / 1.25 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.268, allocations: 330 kB / 1.25 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/1.269, allocations: 305.8 kB / 1.25 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/1.269, allocations: 0.5354 MB / 1.251 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.271, allocations: 0.738 MB / 1.251 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.271, allocations: 4 kB / 1.251 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002473/1.273, allocations: 1.071 MB / 1.252 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/1.273, allocations: 177 kB / 1.253 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.273, allocations: 4 kB / 1.253 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/1.274, allocations: 149.5 kB / 1.253 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/1.275, allocations: 171.8 kB / 1.253 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/1.276, allocations: 1.769 MB / 1.255 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.278, allocations: 171.2 kB / 1.255 GB, free: 72 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/1.278, allocations: 24 kB / 1.255 GB, free: 48 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.278, allocations: 11.94 kB / 1.255 GB, free: 36 kB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001746/1.28, allocations: 0.8604 MB / 1.256 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.28, allocations: 8.156 kB / 1.256 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/1.28, allocations: 97.58 kB / 1.256 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/1.281, allocations: 155.8 kB / 1.256 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/1.284, allocations: 3.149 MB / 1.259 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.285, allocations: 171.7 kB / 1.259 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/1.285, allocations: 28 kB / 1.259 GB, free: 11.29 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.0008923/1.286, allocations: 445.9 kB / 1.26 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/1.286, allocations: 142.2 kB / 1.26 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/1.288, allocations: 0.9527 MB / 1.261 GB, free: 9.727 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.288, allocations: 8 kB / 1.261 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/1.288, allocations: 0 / 1.261 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/1.29, allocations: 1.098 MB / 1.262 GB, free: 8.527 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.004217/1.294, allocations: 2.454 MB / 1.264 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.294, allocations: 4.281 kB / 1.264 GB, free: 5.961 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007384/1.295, allocations: 159.8 kB / 1.264 GB, free: 5.805 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/1.295, allocations: 93.58 kB / 1.264 GB, free: 5.707 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/1.295, allocations: 23.92 kB / 1.264 GB, free: 5.684 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/1.296, allocations: 1.741 MB / 1.266 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.296, allocations: 7.938 kB / 1.266 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/1.299, allocations: 1.458 MB / 1.268 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/1.3, allocations: 327.1 kB / 1.268 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/1.3, allocations: 20 kB / 1.268 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009905/1.301, allocations: 111.9 kB / 1.268 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.301, allocations: 56.44 kB / 1.268 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/1.301, allocations: 31.97 kB / 1.268 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001177/1.302, allocations: 0.8005 MB / 1.269 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/1.302, allocations: 0 / 1.269 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00234/1.304, allocations: 0.8106 MB / 1.27 GB, free: 184 kB / 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.003452/1.308, allocations: 2.251 MB / 1.272 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002974/1.311, allocations: 1.471 MB / 1.273 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.311, allocations: 0 / 1.273 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008428/1.312, allocations: 411.7 kB / 1.274 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004614/1.316, allocations: 0.7823 MB / 1.274 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.332, allocations: 8.415 MB / 1.283 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009892/1.333, allocations: 1.273 MB / 1.284 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001617/1.335, allocations: 349.6 kB / 1.284 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/1.335, allocations: 0.5696 MB / 1.285 GB, free: 216 kB / 0.8073 GB Notification: Performance of SimCode: time 1.122e-06/1.336, allocations: 4 kB / 1.285 GB, free: 212 kB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08609/1.422, allocations: 41.2 MB / 1.325 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/1.422, allocations: 285.4 kB / 1.325 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.394/4.816, allocations: 0 / 1.325 GB, free: 7.102 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)