Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001834/0.001834, allocations: 195.8 kB / 377.1 MB, free: 1.527 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.684/1.684, allocations: 205.4 MB / 0.6366 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008973/0.0008972, allocations: 92.09 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.276, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.474/1.75, allocations: 414.2 MB / 1.393 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.75, allocations: 96.47 kB / 1.393 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.578/4.329, allocations: 0.7961 GB / 2.189 GB, free: 122 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.926e-06/4.329, allocations: 0 / 2.189 GB, free: 122 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000326/4.329, allocations: 59.27 kB / 2.189 GB, free: 122 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007305/4.336, allocations: 2.572 MB / 2.192 GB, free: 121.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/4.336, allocations: 11.09 kB / 2.192 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006595/4.337, allocations: 203.1 kB / 2.192 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/4.338, allocations: 262.8 kB / 2.192 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05626/4.395, allocations: 24.34 MB / 2.216 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/4.395, allocations: 108 kB / 2.216 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005423/4.395, allocations: 146.3 kB / 2.216 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/4.399, allocations: 1.478 MB / 2.218 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/4.399, allocations: 4.594 kB / 2.218 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/4.399, allocations: 57.19 kB / 2.218 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/4.399, allocations: 42.42 kB / 2.218 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/4.402, allocations: 1.11 MB / 2.219 GB, free: 119.5 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 preOpt removeSimpleEquations (simulation): time 0.009745/4.412, allocations: 7.569 MB / 2.226 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/4.413, allocations: 0.5167 MB / 2.227 GB, free: 115.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/4.413, allocations: 1.156 MB / 2.228 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/4.414, allocations: 47.38 kB / 2.228 GB, free: 113.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.875e-06/4.414, allocations: 0 / 2.228 GB, free: 113.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002338/4.416, allocations: 1.045 MB / 2.229 GB, free: 113.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/4.416, allocations: 55.88 kB / 2.229 GB, free: 113.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/4.419, allocations: 1.523 MB / 2.23 GB, free: 113.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/4.419, allocations: 45.39 kB / 2.23 GB, free: 113.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/4.42, allocations: 0.946 MB / 2.231 GB, free: 113.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/4.42, allocations: 212.4 kB / 2.232 GB, free: 113 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/4.42, allocations: 20.19 kB / 2.232 GB, free: 113 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/4.42, allocations: 344.3 kB / 2.232 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/4.421, allocations: 306.3 kB / 2.232 GB, free: 112.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/4.422, allocations: 0.6804 MB / 2.233 GB, free: 112.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/4.423, allocations: 418.4 kB / 2.233 GB, free: 112.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/4.423, allocations: 3.938 kB / 2.233 GB, free: 112.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002283/4.425, allocations: 1.123 MB / 2.234 GB, free: 112.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/4.425, allocations: 14.06 kB / 2.234 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/4.425, allocations: 7.875 kB / 2.234 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/4.425, allocations: 21.92 kB / 2.234 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/4.426, allocations: 232 kB / 2.235 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/4.426, allocations: 18.42 kB / 2.235 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/4.428, allocations: 244.5 kB / 2.235 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/4.428, allocations: 47.92 kB / 2.235 GB, free: 112 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (111): * Single equations (assignments): 111 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001025/4.429, allocations: 436 kB / 2.235 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/4.43, allocations: 193 kB / 2.236 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/4.431, allocations: 0.9229 MB / 2.236 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/4.432, allocations: 14.77 kB / 2.237 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/4.432, allocations: 0 / 2.237 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/4.433, allocations: 0.8451 MB / 2.237 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004819/4.438, allocations: 2.52 MB / 2.24 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/4.438, allocations: 2.344 kB / 2.24 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/4.438, allocations: 180.2 kB / 2.24 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/4.438, allocations: 3.844 kB / 2.24 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/4.438, allocations: 22.97 kB / 2.24 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/4.438, allocations: 3.75 kB / 2.24 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/4.438, allocations: 3.906 kB / 2.24 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/4.441, allocations: 1.596 MB / 2.242 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009966/4.442, allocations: 397.6 kB / 2.242 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/4.442, allocations: 14.47 kB / 2.242 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/4.444, allocations: 140.9 kB / 2.242 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/4.444, allocations: 46.75 kB / 2.242 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/4.444, allocations: 37.62 kB / 2.242 GB, free: 110.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001839/4.446, allocations: 1.22 MB / 2.243 GB, free: 110.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/4.446, allocations: 0 / 2.243 GB, free: 110.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002364/4.448, allocations: 0.6851 MB / 2.244 GB, free: 110 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004262/4.452, allocations: 3.497 MB / 2.247 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001576/4.454, allocations: 0.7895 MB / 2.248 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/4.454, allocations: 0 / 2.248 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006419/4.455, allocations: 390.1 kB / 2.249 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/4.46, allocations: 1.25 MB / 2.25 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/4.483, allocations: 17.71 MB / 2.267 GB, free: 97.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/4.485, allocations: 1.447 MB / 2.269 GB, free: 96.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001974/4.487, allocations: 379.8 kB / 2.269 GB, free: 96.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/4.488, allocations: 0.7533 MB / 2.27 GB, free: 96.32 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/4.488, allocations: 0 / 2.27 GB, free: 96.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09561/4.583, allocations: 63.17 MB / 2.331 GB, free: 89.17 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/4.583, allocations: 227 kB / 2.332 GB, free: 88.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.996/8.58, allocations: 3.094 kB / 2.332 GB, free: 88.94 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)