Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.748/0.748, allocations: 127.4 MB / 134.9 MB, free: 3.738 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 165 kB / 164.7 MB, free: 6.539 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.2 MB / 399.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009144/0.0009147, allocations: 95.44 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.483e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1937, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.365/1.558, allocations: 374.1 MB / 0.987 GB, free: 168.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.559, allocations: 99.94 kB / 0.9871 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.833/4.392, allocations: 0.7633 GB / 1.75 GB, free: 67.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/4.392, allocations: 0 / 1.75 GB, free: 67.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002332/4.393, allocations: 61.52 kB / 1.75 GB, free: 67.93 MB / 0.6511 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.005693/4.398, allocations: 2.154 MB / 1.753 GB, free: 67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/4.398, allocations: 9.344 kB / 1.753 GB, free: 67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/4.399, allocations: 262.9 kB / 1.753 GB, free: 66.88 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08095/4.48, allocations: 43.68 MB / 1.795 GB, free: 64.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/4.481, allocations: 42 kB / 1.796 GB, free: 64.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/4.481, allocations: 86.31 kB / 1.796 GB, free: 64.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001715/4.482, allocations: 0.858 MB / 1.796 GB, free: 63.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/4.484, allocations: 1.169 MB / 1.798 GB, free: 63.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/4.484, allocations: 3.938 kB / 1.798 GB, free: 63.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/4.484, allocations: 6.984 kB / 1.798 GB, free: 63.24 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/4.485, allocations: 39.72 kB / 1.798 GB, free: 63.23 MB / 0.6511 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.007906/4.492, allocations: 7.924 MB / 1.805 GB, free: 56.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/4.493, allocations: 368.8 kB / 1.806 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/4.493, allocations: 189.9 kB / 1.806 GB, free: 56.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/4.494, allocations: 0.6706 MB / 1.807 GB, free: 55.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/4.494, allocations: 42.95 kB / 1.807 GB, free: 55.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 2.545e-06/4.494, allocations: 0 / 1.807 GB, free: 55.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.001036/4.495, allocations: 474.7 kB / 1.807 GB, free: 55.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/4.495, allocations: 58.16 kB / 1.807 GB, free: 55.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/4.496, allocations: 1.189 MB / 1.808 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/4.496, allocations: 25.7 kB / 1.808 GB, free: 55.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/4.497, allocations: 0.9914 MB / 1.809 GB, free: 54.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/4.497, allocations: 154.2 kB / 1.809 GB, free: 54.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/4.497, allocations: 1.906 kB / 1.809 GB, free: 54.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/4.497, allocations: 340.3 kB / 1.81 GB, free: 53.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/4.497, allocations: 178.6 kB / 1.81 GB, free: 53.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/4.498, allocations: 0.5679 MB / 1.81 GB, free: 53.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006368/4.498, allocations: 314.2 kB / 1.811 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/4.498, allocations: 6.625 kB / 1.811 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001462/4.5, allocations: 0.8222 MB / 1.812 GB, free: 52.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/4.5, allocations: 11.31 kB / 1.812 GB, free: 52.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/4.5, allocations: 10.78 kB / 1.812 GB, free: 52.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/4.5, allocations: 22.52 kB / 1.812 GB, free: 52.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/4.501, allocations: 242 kB / 1.812 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/4.501, allocations: 26.41 kB / 1.812 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/4.502, allocations: 180.5 kB / 1.812 GB, free: 52.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/4.502, allocations: 50.64 kB / 1.812 GB, free: 52.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * 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.0001688/4.503, allocations: 136.1 kB / 1.812 GB, free: 52.57 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008119/4.503, allocations: 474.4 kB / 1.813 GB, free: 52.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/4.504, allocations: 164.5 kB / 1.813 GB, free: 52.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/4.505, allocations: 0.5225 MB / 1.813 GB, free: 52.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/4.505, allocations: 7.344 kB / 1.813 GB, free: 52.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/4.505, allocations: 0 / 1.813 GB, free: 52.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005674/4.505, allocations: 0.5043 MB / 1.814 GB, free: 51.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/4.508, allocations: 1.715 MB / 1.815 GB, free: 50.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/4.508, allocations: 3.438 kB / 1.815 GB, free: 50.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/4.509, allocations: 131.6 kB / 1.816 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/4.509, allocations: 3.562 kB / 1.816 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/4.509, allocations: 7.25 kB / 1.816 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/4.509, allocations: 6.094 kB / 1.816 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/4.509, allocations: 3.938 kB / 1.816 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/4.51, allocations: 0.8686 MB / 1.816 GB, free: 50.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/4.511, allocations: 322 kB / 1.817 GB, free: 50.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/4.511, allocations: 8.703 kB / 1.817 GB, free: 50.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008111/4.512, allocations: 97.27 kB / 1.817 GB, free: 50.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/4.512, allocations: 42.38 kB / 1.817 GB, free: 50.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/4.512, allocations: 20.38 kB / 1.817 GB, free: 50.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001164/4.513, allocations: 0.8803 MB / 1.818 GB, free: 49.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/4.513, allocations: 0 / 1.818 GB, free: 49.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002326/4.515, allocations: 0.6664 MB / 1.818 GB, free: 49.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002893/4.518, allocations: 2.564 MB / 1.821 GB, free: 47.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008781/4.519, allocations: 489.7 kB / 1.821 GB, free: 47.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/4.519, allocations: 3.344 kB / 1.821 GB, free: 47.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002541/4.519, allocations: 189.4 kB / 1.822 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/4.524, allocations: 0.8522 MB / 1.822 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/4.529, allocations: 2.531 MB / 1.825 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/4.53, allocations: 1.413 MB / 1.826 GB, free: 45.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001375/4.531, allocations: 297.7 kB / 1.827 GB, free: 45.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/4.532, allocations: 0.7241 MB / 1.827 GB, free: 44.94 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/4.532, allocations: 0 / 1.827 GB, free: 44.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/4.653, allocations: 45.72 MB / 1.872 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/4.653, allocations: 187.2 kB / 1.872 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.558/8.211, allocations: 3.375 kB / 1.872 GB, free: 5.324 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)