Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8266/0.8266, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.00119, allocations: 188.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.5 MB / 436.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009897, allocations: 86.34 kB / 0.5074 GB, free: 10.23 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 270.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.258e-05, allocations: 8 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4562, allocations: 82.77 MB / 0.7575 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8527/1.309, allocations: 385 MB / 1.133 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.309, allocations: 88.58 kB / 1.134 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.862/4.171, allocations: 0.8046 GB / 1.938 GB, free: 37.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/4.171, allocations: 0 / 1.938 GB, free: 37.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002003/4.171, allocations: 61.72 kB / 1.938 GB, free: 37.38 MB / 0.698 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.005114/4.177, allocations: 2.162 MB / 1.94 GB, free: 35.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/4.177, allocations: 8.031 kB / 1.94 GB, free: 35.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009011/4.177, allocations: 261.1 kB / 1.941 GB, free: 34.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04595/4.223, allocations: 24.61 MB / 1.965 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/4.224, allocations: 44 kB / 1.965 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/4.224, allocations: 88 kB / 1.965 GB, free: 10.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/4.226, allocations: 0.8606 MB / 1.966 GB, free: 9.266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/4.228, allocations: 1.195 MB / 1.967 GB, free: 7.996 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/4.228, allocations: 4 kB / 1.967 GB, free: 7.992 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/4.228, allocations: 7.984 kB / 1.967 GB, free: 7.984 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/4.228, allocations: 39.94 kB / 1.967 GB, free: 7.945 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008993/4.237, allocations: 7.259 MB / 1.974 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/4.238, allocations: 432.1 kB / 1.974 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/4.238, allocations: 266.5 kB / 1.975 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/4.239, allocations: 1.156 MB / 1.976 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/4.239, allocations: 39.12 kB / 1.976 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 3.927e-06/4.239, allocations: 5.969 kB / 1.976 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.001759/4.241, allocations: 0.6181 MB / 1.976 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/4.241, allocations: 59.97 kB / 1.976 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/4.243, allocations: 1.193 MB / 1.978 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/4.243, allocations: 29.7 kB / 1.978 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/4.244, allocations: 0.9377 MB / 1.978 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/4.245, allocations: 208.9 kB / 1.979 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/4.245, allocations: 0 / 1.979 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002083/4.245, allocations: 341.9 kB / 1.979 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/4.245, allocations: 218.6 kB / 1.979 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007597/4.246, allocations: 0.5795 MB / 1.98 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/4.247, allocations: 353.8 kB / 1.98 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/4.247, allocations: 0 / 1.98 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001867/4.249, allocations: 0.9031 MB / 1.981 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/4.249, allocations: 8 kB / 1.981 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/4.249, allocations: 12 kB / 1.981 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/4.249, allocations: 19.72 kB / 1.981 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/4.25, allocations: 232.3 kB / 1.981 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.751e-05/4.25, allocations: 23.89 kB / 1.981 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/4.252, allocations: 167 kB / 1.981 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/4.252, allocations: 51.97 kB / 1.981 GB, free: 7.836 MB / 0.7136 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 () * 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.0002452/4.252, allocations: 136.6 kB / 1.982 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001185/4.253, allocations: 0.6143 MB / 1.982 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/4.253, allocations: 165.9 kB / 1.982 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/4.255, allocations: 0.7262 MB / 1.983 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/4.255, allocations: 7.953 kB / 1.983 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/4.255, allocations: 0 / 1.983 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/4.256, allocations: 0.6863 MB / 1.984 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/4.26, allocations: 2.152 MB / 1.986 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/4.26, allocations: 7.938 kB / 1.986 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007725/4.261, allocations: 176.1 kB / 1.986 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/4.261, allocations: 4 kB / 1.986 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/4.261, allocations: 11.98 kB / 1.986 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/4.261, allocations: 4 kB / 1.986 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/4.261, allocations: 3.938 kB / 1.986 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/4.263, allocations: 1.292 MB / 1.987 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007856/4.264, allocations: 374.7 kB / 1.988 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/4.264, allocations: 4 kB / 1.988 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/4.265, allocations: 115.7 kB / 1.988 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/4.265, allocations: 48.45 kB / 1.988 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/4.265, allocations: 35.97 kB / 1.988 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001364/4.267, allocations: 0.8909 MB / 1.989 GB, free: 152 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/4.267, allocations: 4 kB / 1.989 GB, free: 148 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.6334/4.9, allocations: 0.6851 MB / 1.989 GB, free: 78.79 MB / 0.7136 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 () * 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.005393/4.906, allocations: 3.226 MB / 1.993 GB, free: 77.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001465/4.907, allocations: 0.606 MB / 1.993 GB, free: 77.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/4.907, allocations: 1.125 kB / 1.993 GB, free: 77.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005895/4.908, allocations: 302.7 kB / 1.993 GB, free: 77.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005883/4.914, allocations: 0.9472 MB / 1.994 GB, free: 77.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/4.92, allocations: 2.722 MB / 1.997 GB, free: 76.56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009472/4.921, allocations: 1.443 MB / 1.998 GB, free: 75.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001805/4.923, allocations: 349.3 kB / 1.999 GB, free: 75.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008545/4.923, allocations: 0.7398 MB / 2 GB, free: 75.82 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/4.923, allocations: 0 / 2 GB, free: 75.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/5.03, allocations: 48.55 MB / 2.047 GB, free: 73.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/5.03, allocations: 196.2 kB / 2.047 GB, free: 73.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.081/9.111, allocations: 0 / 2.047 GB, free: 73.55 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)