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.697/1.697, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001312/0.001312, allocations: 198.1 kB / 376.9 MB, free: 1.812 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.613/1.613, allocations: 205.1 MB / 0.6354 GB, free: 9.785 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.0009225/0.0009223, allocations: 101 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2775, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04133/0.3189, allocations: 41.35 MB / 1.023 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5684/0.8874, allocations: 10.36 MB / 1.033 GB, free: 63.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.8901, allocations: 50.83 kB / 1.033 GB, free: 63.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.8925, allocations: 0.5261 MB / 1.033 GB, free: 63.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007335/0.8999, allocations: 1.731 MB / 1.035 GB, free: 63.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.9041, allocations: 1.085 MB / 1.036 GB, free: 63.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00795/0.912, allocations: 4.516 MB / 1.04 GB, free: 63 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.9144, allocations: 0.8821 MB / 1.041 GB, free: 62.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.9176, allocations: 1.061 MB / 1.042 GB, free: 62.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.9199, allocations: 0.8896 MB / 1.043 GB, free: 62.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003908/0.9203, allocations: 49.22 kB / 1.043 GB, free: 62.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.9236, allocations: 0.7803 MB / 1.044 GB, free: 62.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004169/0.9241, allocations: 228.7 kB / 1.044 GB, free: 62.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.9252, allocations: 0.5724 MB / 1.045 GB, free: 62.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.9294, allocations: 1.874 MB / 1.047 GB, free: 62.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.9294, allocations: 0.6562 kB / 1.047 GB, free: 62.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9294, allocations: 0 / 1.047 GB, free: 62.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.9295, allocations: 1.031 kB / 1.047 GB, free: 62.09 MB / 0.7448 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.003322/0.9328, allocations: 1.51 MB / 1.048 GB, free: 61.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.9329, allocations: 9 kB / 1.048 GB, free: 61.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.9333, allocations: 134.8 kB / 1.048 GB, free: 61.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.9354, allocations: 1.058 MB / 1.049 GB, free: 60.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.9355, allocations: 58.14 kB / 1.049 GB, free: 60.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.9357, allocations: 77.67 kB / 1.049 GB, free: 60.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.9374, allocations: 0.7891 MB / 1.05 GB, free: 60.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.9374, allocations: 6.328 kB / 1.05 GB, free: 60.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.9375, allocations: 31.34 kB / 1.05 GB, free: 60.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/0.9375, allocations: 19.23 kB / 1.05 GB, free: 60.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.9388, allocations: 0.5687 MB / 1.051 GB, free: 60.7 MB / 0.7448 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.004315/0.9431, allocations: 3.544 MB / 1.054 GB, free: 58.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.9437, allocations: 263.5 kB / 1.054 GB, free: 58.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.944, allocations: 175.8 kB / 1.055 GB, free: 58.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/0.9444, allocations: 0.6586 MB / 1.055 GB, free: 58.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.9444, allocations: 38.72 kB / 1.055 GB, free: 58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 3.016e-06/0.9444, allocations: 0.9375 kB / 1.055 GB, free: 58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31): time 0.001189/0.9456, allocations: 0.514 MB / 1.056 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.9457, allocations: 54.66 kB / 1.056 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.9467, allocations: 0.923 MB / 1.057 GB, free: 57.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.9468, allocations: 36.05 kB / 1.057 GB, free: 57.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.9471, allocations: 0.4889 MB / 1.057 GB, free: 57.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.9472, allocations: 112.8 kB / 1.057 GB, free: 57.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.9474, allocations: 116.6 kB / 1.058 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.9474, allocations: 333.6 kB / 1.058 GB, free: 57.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.9477, allocations: 165.7 kB / 1.058 GB, free: 57.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.9482, allocations: 356.1 kB / 1.058 GB, free: 56.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.9489, allocations: 0.5077 MB / 1.059 GB, free: 56.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9489, allocations: 0 / 1.059 GB, free: 56.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001018/0.9499, allocations: 0.6122 MB / 1.059 GB, free: 56.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.95, allocations: 6.781 kB / 1.059 GB, free: 56.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.95, allocations: 8.797 kB / 1.059 GB, free: 56.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.95, allocations: 10.16 kB / 1.059 GB, free: 56.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.9504, allocations: 129.2 kB / 1.06 GB, free: 56.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.9505, allocations: 6.312 kB / 1.06 GB, free: 56.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.9513, allocations: 115.1 kB / 1.06 GB, free: 56.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.9514, allocations: 23.38 kB / 1.06 GB, free: 56.33 MB / 0.7448 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003656/0.9517, allocations: 281.4 kB / 1.06 GB, free: 56.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.9519, allocations: 99.75 kB / 1.06 GB, free: 56.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.9529, allocations: 486.4 kB / 1.061 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.953, allocations: 3.25 kB / 1.061 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.953, allocations: 0 / 1.061 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006549/0.9536, allocations: 458.1 kB / 1.061 GB, free: 55.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.9558, allocations: 1.359 MB / 1.062 GB, free: 54.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.9558, allocations: 1.25 kB / 1.062 GB, free: 54.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.9561, allocations: 74.5 kB / 1.062 GB, free: 54.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.9561, allocations: 7.312 kB / 1.062 GB, free: 54.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.9562, allocations: 12.64 kB / 1.062 GB, free: 54.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.9562, allocations: 3.125 kB / 1.062 GB, free: 54.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9562, allocations: 3.641 kB / 1.062 GB, free: 54.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/0.9613, allocations: 3.587 MB / 1.066 GB, free: 52.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.9617, allocations: 229.9 kB / 1.066 GB, free: 52.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.9618, allocations: 11.25 kB / 1.066 GB, free: 52.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.9623, allocations: 51.14 kB / 1.066 GB, free: 52.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.9624, allocations: 30.69 kB / 1.066 GB, free: 52.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.9624, allocations: 21.19 kB / 1.066 GB, free: 52.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007617/0.9632, allocations: 0.6436 MB / 1.067 GB, free: 52.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9632, allocations: 0 / 1.067 GB, free: 52.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001585/0.9648, allocations: 464.1 kB / 1.067 GB, free: 52.11 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009989/0.9658, allocations: 380.1 kB / 1.068 GB, free: 51.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009863/0.9668, allocations: 423.9 kB / 1.068 GB, free: 51.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9668, allocations: 0 / 1.068 GB, free: 51.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.9672, allocations: 182.2 kB / 1.068 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.9701, allocations: 0.6047 MB / 1.069 GB, free: 51.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.9729, allocations: 2.196 MB / 1.071 GB, free: 50.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.9734, allocations: 1.04 MB / 1.072 GB, free: 49.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000839/0.9742, allocations: 196.3 kB / 1.072 GB, free: 49.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.9744, allocations: 83.03 kB / 1.072 GB, free: 49.37 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.9744, allocations: 7.938 kB / 1.072 GB, free: 49.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.03737/1.012, allocations: 21.07 MB / 1.093 GB, free: 47.52 MB / 0.7448 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)