Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.582/2.582, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001535/0.001534, allocations: 177.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.005/2.005, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001091/0.001091, allocations: 104.7 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004869, allocations: 12.91 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.575, allocations: 413.1 MB / 1.382 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/1.576, allocations: 96.33 kB / 1.382 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.754/6.33, allocations: 0.7961 GB / 2.178 GB, free: 141.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/6.33, allocations: 0 / 2.178 GB, free: 141.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003061/6.33, allocations: 60.44 kB / 2.178 GB, free: 141.1 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.00962/6.34, allocations: 2.569 MB / 2.18 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/6.34, allocations: 8.781 kB / 2.18 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007898/6.34, allocations: 200.2 kB / 2.181 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/6.342, allocations: 266.7 kB / 2.181 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07865/6.42, allocations: 24.35 MB / 2.205 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/6.421, allocations: 114 kB / 2.205 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000433/6.421, allocations: 138.9 kB / 2.205 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00402/6.425, allocations: 1.485 MB / 2.206 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.99e-05/6.425, allocations: 3.906 kB / 2.206 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/6.425, allocations: 59.12 kB / 2.206 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/6.426, allocations: 46.41 kB / 2.207 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/6.429, allocations: 1.109 MB / 2.208 GB, free: 138.8 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.01158/6.441, allocations: 7.552 MB / 2.215 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/6.442, allocations: 0.5105 MB / 2.215 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000922/6.443, allocations: 1.168 MB / 2.217 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/6.443, allocations: 42.31 kB / 2.217 GB, free: 133.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.026e-06/6.443, allocations: 0 / 2.217 GB, free: 133.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.003733/6.447, allocations: 1.038 MB / 2.218 GB, free: 133.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/6.447, allocations: 56.78 kB / 2.218 GB, free: 133 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/6.45, allocations: 1.527 MB / 2.219 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002464/6.451, allocations: 46.98 kB / 2.219 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/6.452, allocations: 0.9435 MB / 2.22 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/6.452, allocations: 211.2 kB / 2.22 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/6.452, allocations: 14.97 kB / 2.22 GB, free: 132.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/6.452, allocations: 342.3 kB / 2.221 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/6.453, allocations: 309.5 kB / 2.221 GB, free: 132.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/6.455, allocations: 0.6828 MB / 2.222 GB, free: 131.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/6.456, allocations: 426.5 kB / 2.222 GB, free: 131.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/6.456, allocations: 2.906 kB / 2.222 GB, free: 131.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004032/6.46, allocations: 1.127 MB / 2.223 GB, free: 131.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/6.461, allocations: 16.67 kB / 2.223 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/6.461, allocations: 10.97 kB / 2.223 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.675e-05/6.461, allocations: 18.33 kB / 2.223 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/6.462, allocations: 227.5 kB / 2.223 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.64e-05/6.462, allocations: 23.61 kB / 2.223 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/6.465, allocations: 232.4 kB / 2.224 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/6.466, allocations: 53.16 kB / 2.224 GB, free: 131.4 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.001383/6.467, allocations: 436.4 kB / 2.224 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006727/6.468, allocations: 192.3 kB / 2.224 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/6.471, allocations: 0.9312 MB / 2.225 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/6.471, allocations: 7.438 kB / 2.225 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/6.471, allocations: 2.188 kB / 2.225 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002151/6.473, allocations: 0.8484 MB / 2.226 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/6.48, allocations: 2.508 MB / 2.229 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/6.48, allocations: 3.906 kB / 2.229 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/6.481, allocations: 176.7 kB / 2.229 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/6.481, allocations: 6.719 kB / 2.229 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/6.481, allocations: 22.81 kB / 2.229 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/6.481, allocations: 5.906 kB / 2.229 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/6.481, allocations: 3.875 kB / 2.229 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/6.486, allocations: 1.588 MB / 2.23 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/6.487, allocations: 399.4 kB / 2.231 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/6.488, allocations: 17.39 kB / 2.231 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/6.49, allocations: 132.2 kB / 2.231 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/6.49, allocations: 54.62 kB / 2.231 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/6.49, allocations: 31.78 kB / 2.231 GB, free: 129.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002772/6.493, allocations: 1.219 MB / 2.232 GB, free: 129.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.563e-06/6.493, allocations: 2.375 kB / 2.232 GB, free: 129.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003308/6.497, allocations: 0.6967 MB / 2.233 GB, free: 129.5 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.006752/6.503, allocations: 3.486 MB / 2.236 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00264/6.506, allocations: 0.7878 MB / 2.237 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/6.506, allocations: 5.5 kB / 2.237 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/6.507, allocations: 387.8 kB / 2.237 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/6.518, allocations: 1.243 MB / 2.239 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/6.547, allocations: 17.7 MB / 2.256 GB, free: 116.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/6.549, allocations: 1.446 MB / 2.257 GB, free: 115.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002686/6.551, allocations: 387 kB / 2.258 GB, free: 115.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/6.553, allocations: 0.7566 MB / 2.258 GB, free: 115.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/6.553, allocations: 1.844 kB / 2.258 GB, free: 115.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/6.696, allocations: 63.15 MB / 2.32 GB, free: 112.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/6.696, allocations: 228.9 kB / 2.32 GB, free: 112.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.079/11.77, allocations: 2.656 kB / 2.32 GB, free: 112.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)