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: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001676/0.001676, allocations: 180.9 kB / 377.1 MB, free: 1.527 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.873/1.873, allocations: 205.4 MB / 0.6367 GB, free: 8.555 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.0009688/0.000969, allocations: 94.3 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.000412, allocations: 11.98 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.588/1.908, allocations: 408.3 MB / 1.387 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.908, allocations: 94.62 kB / 1.387 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.362/3.27, allocations: 435.5 MB / 1.813 GB, free: 184.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.874e-06/3.27, allocations: 3.656 kB / 1.813 GB, free: 184.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001003/3.27, allocations: 32.78 kB / 1.813 GB, free: 184.7 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.003137/3.273, allocations: 1.452 MB / 1.814 GB, free: 184.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/3.273, allocations: 8.844 kB / 1.814 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/3.274, allocations: 134.5 kB / 1.814 GB, free: 184 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02651/3.3, allocations: 12.79 MB / 1.827 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/3.3, allocations: 57.69 kB / 1.827 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/3.301, allocations: 75.5 kB / 1.827 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/3.302, allocations: 0.7749 MB / 1.827 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/3.302, allocations: 0 / 1.827 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/3.302, allocations: 28.34 kB / 1.827 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/3.302, allocations: 19.95 kB / 1.828 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/3.303, allocations: 0.5648 MB / 1.828 GB, free: 183.2 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.004658/3.308, allocations: 3.545 MB / 1.832 GB, free: 181.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/3.308, allocations: 366.8 kB / 1.832 GB, free: 181.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004443/3.309, allocations: 0.6621 MB / 1.833 GB, free: 180.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/3.309, allocations: 35.94 kB / 1.833 GB, free: 180.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.835e-06/3.309, allocations: 4.094 kB / 1.833 GB, free: 180.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001372/3.31, allocations: 0.56 MB / 1.833 GB, free: 180.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/3.31, allocations: 55.25 kB / 1.833 GB, free: 180.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/3.311, allocations: 0.8208 MB / 1.834 GB, free: 180.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/3.312, allocations: 38.62 kB / 1.834 GB, free: 180.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/3.312, allocations: 0.4912 MB / 1.834 GB, free: 180 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/3.312, allocations: 117.3 kB / 1.835 GB, free: 180 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/3.312, allocations: 10.06 kB / 1.835 GB, free: 180 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/3.312, allocations: 323 kB / 1.835 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/3.312, allocations: 166 kB / 1.835 GB, free: 179.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/3.313, allocations: 380.4 kB / 1.835 GB, free: 179.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/3.313, allocations: 223.1 kB / 1.836 GB, free: 179.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/3.313, allocations: 0 / 1.836 GB, free: 179.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009307/3.314, allocations: 0.5992 MB / 1.836 GB, free: 179.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/3.314, allocations: 7.938 kB / 1.836 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/3.314, allocations: 9.156 kB / 1.836 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/3.314, allocations: 7.188 kB / 1.836 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/3.315, allocations: 118.1 kB / 1.836 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/3.315, allocations: 15.45 kB / 1.836 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/3.316, allocations: 109.3 kB / 1.836 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/3.316, allocations: 34.61 kB / 1.837 GB, free: 179.3 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.0004329/3.316, allocations: 270.6 kB / 1.837 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/3.316, allocations: 103.4 kB / 1.837 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009964/3.317, allocations: 0.506 MB / 1.837 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/3.317, allocations: 7.562 kB / 1.837 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/3.317, allocations: 3.469 kB / 1.837 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006374/3.318, allocations: 493.4 kB / 1.838 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/3.32, allocations: 1.452 MB / 1.839 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/3.32, allocations: 1.062 kB / 1.839 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/3.321, allocations: 90.62 kB / 1.839 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/3.321, allocations: 6.641 kB / 1.839 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/3.321, allocations: 6.75 kB / 1.839 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/3.321, allocations: 3 kB / 1.839 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/3.321, allocations: 9.453 kB / 1.839 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/3.322, allocations: 0.8809 MB / 1.84 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/3.322, allocations: 245.2 kB / 1.84 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/3.322, allocations: 9.281 kB / 1.84 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/3.323, allocations: 68.67 kB / 1.841 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/3.323, allocations: 24.11 kB / 1.841 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/3.323, allocations: 15.86 kB / 1.841 GB, free: 178 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009044/3.324, allocations: 0.6533 MB / 1.841 GB, free: 177.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/3.324, allocations: 1.125 kB / 1.841 GB, free: 177.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00122/3.325, allocations: 369.3 kB / 1.842 GB, free: 177.8 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.00092/3.326, allocations: 0.5579 MB / 1.842 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008957/3.327, allocations: 423.9 kB / 1.843 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/3.327, allocations: 3.281 kB / 1.843 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/3.327, allocations: 208.2 kB / 1.843 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/3.33, allocations: 0.6071 MB / 1.843 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/3.333, allocations: 1.958 MB / 1.845 GB, free: 176.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/3.333, allocations: 1.064 MB / 1.846 GB, free: 176 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009543/3.334, allocations: 204.2 kB / 1.846 GB, free: 176 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/3.335, allocations: 75.75 kB / 1.847 GB, free: 176 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/3.335, allocations: 0 / 1.847 GB, free: 176 MB / 0.948 GB Notification: Performance of Templates: time 0.04101/3.376, allocations: 22.42 MB / 1.868 GB, free: 175 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (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 & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)