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.7757/0.7757, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001343/0.001343, allocations: 187.8 kB / 173.7 MB, free: 6.129 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.831/1.831, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009463/0.0009463, allocations: 96.89 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 16.84 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 76.76 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.234, allocations: 374.7 MB / 1.001 GB, free: 173.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.234, allocations: 101.2 kB / 1.001 GB, free: 173.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.586/3.82, allocations: 0.7703 GB / 1.772 GB, free: 67.83 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.304e-06/3.82, allocations: 0 / 1.772 GB, free: 67.83 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000228/3.82, allocations: 57.91 kB / 1.772 GB, free: 67.83 MB / 0.6667 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.0079/3.828, allocations: 2.564 MB / 1.774 GB, free: 66.92 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/3.828, allocations: 8.906 kB / 1.774 GB, free: 66.92 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006639/3.829, allocations: 208.4 kB / 1.774 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/3.83, allocations: 257.6 kB / 1.775 GB, free: 66.76 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08157/3.912, allocations: 44.03 MB / 1.818 GB, free: 64.76 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.788e-05/3.912, allocations: 107.6 kB / 1.818 GB, free: 64.75 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/3.912, allocations: 141.8 kB / 1.818 GB, free: 64.75 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/3.915, allocations: 1.448 MB / 1.819 GB, free: 64.53 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/3.915, allocations: 3.719 kB / 1.819 GB, free: 64.53 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/3.915, allocations: 55.88 kB / 1.819 GB, free: 64.53 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/3.915, allocations: 46.95 kB / 1.819 GB, free: 64.53 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/3.917, allocations: 1.098 MB / 1.821 GB, free: 64.51 MB / 0.6667 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.007935/3.925, allocations: 7.734 MB / 1.828 GB, free: 60.02 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/3.926, allocations: 494.6 kB / 1.829 GB, free: 59.99 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/3.926, allocations: 1.153 MB / 1.83 GB, free: 58.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/3.926, allocations: 40.23 kB / 1.83 GB, free: 58.64 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/3.926, allocations: 0 / 1.83 GB, free: 58.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.001878/3.928, allocations: 0.9015 MB / 1.831 GB, free: 58.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/3.928, allocations: 65.31 kB / 1.831 GB, free: 58.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/3.93, allocations: 1.488 MB / 1.832 GB, free: 58.22 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.568e-05/3.93, allocations: 37.89 kB / 1.832 GB, free: 58.19 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006201/3.931, allocations: 0.971 MB / 1.833 GB, free: 57.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/3.931, allocations: 171 kB / 1.833 GB, free: 57.75 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/3.931, allocations: 18.78 kB / 1.833 GB, free: 57.75 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/3.931, allocations: 340.6 kB / 1.834 GB, free: 57.45 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/3.932, allocations: 277.6 kB / 1.834 GB, free: 57.44 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/3.932, allocations: 0.6627 MB / 1.835 GB, free: 56.97 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/3.933, allocations: 382.5 kB / 1.835 GB, free: 56.96 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/3.933, allocations: 3.875 kB / 1.835 GB, free: 56.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001775/3.935, allocations: 1.065 MB / 1.836 GB, free: 56.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/3.935, allocations: 10.97 kB / 1.836 GB, free: 56.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/3.935, allocations: 11.56 kB / 1.836 GB, free: 56.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/3.935, allocations: 16 kB / 1.836 GB, free: 56.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/3.935, allocations: 242.2 kB / 1.836 GB, free: 56.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/3.936, allocations: 18.84 kB / 1.836 GB, free: 56.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/3.937, allocations: 247.7 kB / 1.836 GB, free: 56.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/3.937, allocations: 50.25 kB / 1.837 GB, free: 56.74 MB / 0.6667 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 () * Number of clocked 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.0008627/3.938, allocations: 434.9 kB / 1.837 GB, free: 56.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/3.938, allocations: 187.9 kB / 1.837 GB, free: 56.52 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/3.94, allocations: 0.8232 MB / 1.838 GB, free: 56.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/3.94, allocations: 9.281 kB / 1.838 GB, free: 56.43 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/3.94, allocations: 3.375 kB / 1.838 GB, free: 56.43 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009482/3.941, allocations: 0.6889 MB / 1.839 GB, free: 56.17 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/3.944, allocations: 2.161 MB / 1.841 GB, free: 55.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/3.944, allocations: 7.922 kB / 1.841 GB, free: 55.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/3.945, allocations: 142.1 kB / 1.841 GB, free: 55.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/3.945, allocations: 10.53 kB / 1.841 GB, free: 55.73 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/3.945, allocations: 14.42 kB / 1.841 GB, free: 55.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/3.945, allocations: 5.688 kB / 1.841 GB, free: 55.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/3.945, allocations: 4.562 kB / 1.841 GB, free: 55.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/3.947, allocations: 1.302 MB / 1.842 GB, free: 55.22 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/3.948, allocations: 357.8 kB / 1.843 GB, free: 55.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/3.948, allocations: 19.3 kB / 1.843 GB, free: 55.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008901/3.949, allocations: 107.5 kB / 1.843 GB, free: 55.02 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/3.949, allocations: 45.33 kB / 1.843 GB, free: 55.01 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/3.949, allocations: 22.39 kB / 1.843 GB, free: 55.01 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001524/3.95, allocations: 1.22 MB / 1.844 GB, free: 54.87 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.4e-07/3.95, allocations: 1.531 kB / 1.844 GB, free: 54.87 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002351/3.953, allocations: 0.6598 MB / 1.845 GB, free: 54.77 MB / 0.6667 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 (48): * Single equations (assignments): 46 * 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.003611/3.956, allocations: 3.207 MB / 1.848 GB, free: 53.12 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001371/3.958, allocations: 0.6761 MB / 1.848 GB, free: 53.12 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/3.958, allocations: 4.312 kB / 1.848 GB, free: 53.12 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005091/3.958, allocations: 292.9 kB / 1.849 GB, free: 53.11 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/3.964, allocations: 1.15 MB / 1.85 GB, free: 53.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/3.986, allocations: 17.96 MB / 1.867 GB, free: 41.17 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/3.987, allocations: 1.433 MB / 1.869 GB, free: 40.44 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002107/3.989, allocations: 348.3 kB / 1.869 GB, free: 40.42 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/3.99, allocations: 0.7489 MB / 1.87 GB, free: 40.41 MB / 0.6667 GB Notification: Performance of SimCode: time 1.523e-06/3.99, allocations: 0 / 1.87 GB, free: 40.41 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09339/4.084, allocations: 60.73 MB / 1.929 GB, free: 36.35 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/4.084, allocations: 241.9 kB / 1.929 GB, free: 36.11 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4/8.084, allocations: 4 kB / 1.929 GB, free: 36.11 MB / 0.6667 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)