Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.521/2.521, allocations: 287.5 MB / 303.2 MB, free: 8.164 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.001373/0.001372, allocations: 187 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6305 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001359/0.001358, allocations: 84.55 kB / 0.7438 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007248/0.0007249, allocations: 20.98 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2107, allocations: 115.3 MB / 0.9793 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.487, allocations: 407.3 MB / 1.377 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/1.488, allocations: 102.8 kB / 1.377 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.667/4.154, allocations: 432.9 MB / 1.8 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.695e-06/4.155, allocations: 0 / 1.8 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001659/4.155, allocations: 35.42 kB / 1.8 GB, free: 206.1 MB / 0.9323 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.005184/4.16, allocations: 1.442 MB / 1.801 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/4.16, allocations: 12.56 kB / 1.801 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009028/4.161, allocations: 141.1 kB / 1.801 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0383/4.199, allocations: 11.81 MB / 1.813 GB, free: 204.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/4.199, allocations: 54.73 kB / 1.813 GB, free: 204.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/4.199, allocations: 74.66 kB / 1.813 GB, free: 204.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/4.201, allocations: 0.7789 MB / 1.814 GB, free: 204.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/4.201, allocations: 3.938 kB / 1.814 GB, free: 204.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/4.202, allocations: 30.06 kB / 1.814 GB, free: 204.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/4.202, allocations: 19.56 kB / 1.814 GB, free: 204.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/4.203, allocations: 0.5674 MB / 1.814 GB, free: 204.7 MB / 0.9323 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.005841/4.209, allocations: 3.529 MB / 1.818 GB, free: 203 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/4.21, allocations: 365.6 kB / 1.818 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/4.211, allocations: 199.8 kB / 1.818 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/4.211, allocations: 0.6669 MB / 1.819 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/4.211, allocations: 37.95 kB / 1.819 GB, free: 202 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 2.645e-06/4.211, allocations: 2.156 kB / 1.819 GB, free: 202 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001944/4.213, allocations: 0.5648 MB / 1.82 GB, free: 202 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/4.213, allocations: 54.81 kB / 1.82 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/4.215, allocations: 0.9032 MB / 1.821 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/4.215, allocations: 36.89 kB / 1.821 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/4.216, allocations: 0.4967 MB / 1.821 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/4.216, allocations: 111.9 kB / 1.821 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/4.216, allocations: 9.281 kB / 1.821 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/4.216, allocations: 320.9 kB / 1.822 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/4.216, allocations: 160.8 kB / 1.822 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/4.217, allocations: 388 kB / 1.822 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/4.218, allocations: 0.5138 MB / 1.823 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/4.218, allocations: 0 / 1.823 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001742/4.22, allocations: 0.6071 MB / 1.823 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/4.22, allocations: 3.969 kB / 1.823 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/4.22, allocations: 9.344 kB / 1.823 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/4.22, allocations: 10.69 kB / 1.823 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/4.221, allocations: 112.7 kB / 1.823 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/4.221, allocations: 9.531 kB / 1.823 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/4.222, allocations: 115.3 kB / 1.823 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/4.222, allocations: 30.42 kB / 1.823 GB, free: 200.7 MB / 0.9323 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.0006146/4.223, allocations: 271.7 kB / 1.824 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/4.223, allocations: 103.9 kB / 1.824 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/4.225, allocations: 0.5038 MB / 1.824 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/4.225, allocations: 7.062 kB / 1.824 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/4.225, allocations: 1.344 kB / 1.824 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/4.226, allocations: 486 kB / 1.825 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/4.23, allocations: 1.452 MB / 1.826 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/4.23, allocations: 4.859 kB / 1.826 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/4.23, allocations: 81.88 kB / 1.826 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/4.23, allocations: 2.688 kB / 1.826 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/4.23, allocations: 12.05 kB / 1.826 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/4.23, allocations: 7.844 kB / 1.826 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/4.23, allocations: 1.188 kB / 1.826 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/4.233, allocations: 0.8218 MB / 1.827 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/4.233, allocations: 236.9 kB / 1.827 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/4.234, allocations: 12.47 kB / 1.827 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/4.235, allocations: 63.34 kB / 1.827 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/4.235, allocations: 31.3 kB / 1.827 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/4.235, allocations: 20.72 kB / 1.827 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001321/4.236, allocations: 0.637 MB / 1.828 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.51e-07/4.236, allocations: 0 / 1.828 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001885/4.238, allocations: 359.7 kB / 1.828 GB, free: 199.3 MB / 0.9323 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.001357/4.239, allocations: 0.5502 MB / 1.829 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001473/4.241, allocations: 433.2 kB / 1.829 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/4.241, allocations: 0 / 1.829 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006361/4.242, allocations: 202.2 kB / 1.83 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005943/4.248, allocations: 0.6115 MB / 1.83 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/4.252, allocations: 1.96 MB / 1.832 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/4.252, allocations: 1.046 MB / 1.833 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001484/4.254, allocations: 197.4 kB / 1.833 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/4.254, allocations: 82.39 kB / 1.833 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of SimCode: time 9.02e-07/4.254, allocations: 1.406 kB / 1.833 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.05694/4.311, allocations: 22.34 MB / 1.855 GB, free: 197.1 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)