Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.805/1.805, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001443/0.001443, allocations: 193 kB / 377.1 MB, free: 1.535 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.633/1.633, 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.0009075/0.0009078, allocations: 86.98 kB / 0.7509 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2587, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.546/1.805, allocations: 408.3 MB / 1.387 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.805, allocations: 103.4 kB / 1.387 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.347/3.152, allocations: 435.5 MB / 1.813 GB, free: 183.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/3.152, allocations: 0 / 1.813 GB, free: 183.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001369/3.152, allocations: 35.19 kB / 1.813 GB, free: 183.9 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003528/3.155, allocations: 1.448 MB / 1.814 GB, free: 183.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/3.155, allocations: 9.469 kB / 1.814 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002732/3.156, allocations: 122.3 kB / 1.814 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/3.156, allocations: 134.2 kB / 1.814 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02746/3.184, allocations: 12.78 MB / 1.827 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.789e-05/3.184, allocations: 53.62 kB / 1.827 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/3.184, allocations: 74.78 kB / 1.827 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/3.186, allocations: 0.7734 MB / 1.828 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/3.186, allocations: 0 / 1.828 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/3.186, allocations: 33.62 kB / 1.828 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/3.186, allocations: 25.95 kB / 1.828 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/3.187, allocations: 0.5578 MB / 1.828 GB, free: 182.4 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.004651/3.192, allocations: 3.546 MB / 1.832 GB, free: 180.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006251/3.192, allocations: 365.5 kB / 1.832 GB, free: 180.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/3.193, allocations: 0.6668 MB / 1.833 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/3.193, allocations: 40.53 kB / 1.833 GB, free: 179.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/3.193, allocations: 0 / 1.833 GB, free: 179.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001226/3.194, allocations: 0.561 MB / 1.833 GB, free: 179.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/3.194, allocations: 55.19 kB / 1.833 GB, free: 179.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/3.195, allocations: 0.817 MB / 1.834 GB, free: 179.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/3.195, allocations: 37.27 kB / 1.834 GB, free: 179.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/3.195, allocations: 0.4961 MB / 1.835 GB, free: 179.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/3.195, allocations: 117.8 kB / 1.835 GB, free: 179.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/3.196, allocations: 6.938 kB / 1.835 GB, free: 179.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/3.196, allocations: 327.3 kB / 1.835 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/3.196, allocations: 157.8 kB / 1.835 GB, free: 178.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/3.196, allocations: 384.2 kB / 1.836 GB, free: 178.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/3.197, allocations: 222.2 kB / 1.836 GB, free: 178.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/3.197, allocations: 1.5 kB / 1.836 GB, free: 178.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009864/3.198, allocations: 0.5969 MB / 1.836 GB, free: 178.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/3.198, allocations: 7.688 kB / 1.836 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/3.198, allocations: 3.938 kB / 1.836 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/3.198, allocations: 13.67 kB / 1.836 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/3.198, allocations: 117.5 kB / 1.837 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/3.198, allocations: 18.08 kB / 1.837 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/3.199, allocations: 120.3 kB / 1.837 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/3.199, allocations: 21.5 kB / 1.837 GB, free: 178.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 57 * 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.0003189/3.199, allocations: 273.6 kB / 1.837 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/3.199, allocations: 94 kB / 1.837 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/3.2, allocations: 0.5152 MB / 1.838 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/3.2, allocations: 14.36 kB / 1.838 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/3.2, allocations: 0 / 1.838 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006693/3.201, allocations: 484.8 kB / 1.838 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/3.203, allocations: 1.457 MB / 1.839 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/3.203, allocations: 6.328 kB / 1.839 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/3.204, allocations: 84.06 kB / 1.84 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/3.204, allocations: 3.375 kB / 1.84 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/3.204, allocations: 10.44 kB / 1.84 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/3.204, allocations: 6.484 kB / 1.84 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/3.204, allocations: 4.969 kB / 1.84 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/3.205, allocations: 0.8853 MB / 1.84 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/3.205, allocations: 245.8 kB / 1.841 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/3.205, allocations: 14.95 kB / 1.841 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/3.206, allocations: 55.69 kB / 1.841 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/3.206, allocations: 31.22 kB / 1.841 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/3.206, allocations: 18.91 kB / 1.841 GB, free: 177.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008487/3.207, allocations: 0.6507 MB / 1.841 GB, free: 177.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.207, allocations: 1.281 kB / 1.841 GB, free: 177.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001129/3.208, allocations: 364 kB / 1.842 GB, free: 177 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002176/3.21, allocations: 2.226 MB / 1.844 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008065/3.211, allocations: 431 kB / 1.844 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/3.211, allocations: 0 / 1.844 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/3.211, allocations: 207.1 kB / 1.845 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/3.214, allocations: 0.6131 MB / 1.845 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/3.223, allocations: 8.764 MB / 1.854 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/3.224, allocations: 1.05 MB / 1.855 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001035/3.225, allocations: 199.4 kB / 1.855 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/3.225, allocations: 379.4 kB / 1.855 GB, free: 169.8 MB / 0.948 GB Notification: Performance of SimCode: time 7.52e-07/3.225, allocations: 0 / 1.855 GB, free: 169.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/3.274, allocations: 32.67 MB / 1.887 GB, free: 168.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/3.274, allocations: 227.3 kB / 1.887 GB, free: 168 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.969/6.244, allocations: 0 / 1.887 GB, free: 168 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)