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.703/1.703, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001275/0.001275, allocations: 179.6 kB / 371.6 MB, free: 3.395 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.75/1.75, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.0009884/0.0009889, allocations: 92.33 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.078e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2774, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.386, allocations: 408.3 MB / 1.378 GB, free: 4.883 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.386, allocations: 90.77 kB / 1.379 GB, free: 4.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.329/3.715, allocations: 434.2 MB / 1.803 GB, free: 185 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/3.715, allocations: 0 / 1.803 GB, free: 185 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001138/3.716, allocations: 30.42 kB / 1.803 GB, free: 185 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.002652/3.718, allocations: 1.249 MB / 1.804 GB, free: 184.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/3.718, allocations: 9.531 kB / 1.804 GB, free: 184.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/3.719, allocations: 130.5 kB / 1.804 GB, free: 184.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02481/3.743, allocations: 12.71 MB / 1.816 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/3.744, allocations: 59.91 kB / 1.816 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/3.744, allocations: 70.47 kB / 1.817 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/3.745, allocations: 0.731 MB / 1.817 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/3.745, allocations: 0 / 1.817 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/3.745, allocations: 29.41 kB / 1.817 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/3.745, allocations: 20.78 kB / 1.817 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/3.746, allocations: 499.9 kB / 1.818 GB, free: 183.7 MB / 0.948 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.003966/3.75, allocations: 3.543 MB / 1.821 GB, free: 182 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/3.751, allocations: 338.8 kB / 1.822 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/3.751, allocations: 159.1 kB / 1.822 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/3.751, allocations: 0.664 MB / 1.822 GB, free: 181.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/3.751, allocations: 41.61 kB / 1.822 GB, free: 181.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/3.751, allocations: 0 / 1.822 GB, free: 181.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0006628/3.752, allocations: 366.3 kB / 1.823 GB, free: 181 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/3.752, allocations: 57.19 kB / 1.823 GB, free: 180.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009438/3.753, allocations: 0.8061 MB / 1.824 GB, free: 180.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/3.753, allocations: 32.11 kB / 1.824 GB, free: 180.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/3.753, allocations: 0.4941 MB / 1.824 GB, free: 180.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/3.753, allocations: 116.2 kB / 1.824 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/3.753, allocations: 9.906 kB / 1.824 GB, free: 180.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.693e-05/3.753, allocations: 322.5 kB / 1.824 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/3.754, allocations: 127.8 kB / 1.825 GB, free: 180.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/3.754, allocations: 340.8 kB / 1.825 GB, free: 179.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/3.754, allocations: 190.3 kB / 1.825 GB, free: 179.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/3.754, allocations: 3.094 kB / 1.825 GB, free: 179.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007243/3.755, allocations: 0.5251 MB / 1.826 GB, free: 179.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/3.755, allocations: 11.77 kB / 1.826 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/3.755, allocations: 3.125 kB / 1.826 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/3.755, allocations: 15.8 kB / 1.826 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/3.755, allocations: 114.4 kB / 1.826 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/3.755, allocations: 15.16 kB / 1.826 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/3.756, allocations: 106.4 kB / 1.826 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/3.756, allocations: 25.62 kB / 1.826 GB, free: 179.8 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 () * 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.000109/3.756, allocations: 143.3 kB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/3.757, allocations: 100.6 kB / 1.826 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006846/3.757, allocations: 443.6 kB / 1.827 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/3.757, allocations: 9.938 kB / 1.827 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/3.757, allocations: 8.516 kB / 1.827 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004326/3.758, allocations: 411.4 kB / 1.827 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/3.76, allocations: 1.398 MB / 1.828 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/3.76, allocations: 0 / 1.828 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/3.76, allocations: 85.38 kB / 1.828 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/3.76, allocations: 3.281 kB / 1.828 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/3.76, allocations: 5.844 kB / 1.828 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/3.76, allocations: 4.844 kB / 1.828 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/3.76, allocations: 2.625 kB / 1.828 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/3.761, allocations: 0.7861 MB / 1.829 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/3.761, allocations: 246 kB / 1.829 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/3.761, allocations: 20.7 kB / 1.829 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/3.762, allocations: 58.47 kB / 1.83 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/3.762, allocations: 26.03 kB / 1.83 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/3.762, allocations: 15.97 kB / 1.83 GB, free: 178.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007964/3.763, allocations: 0.6428 MB / 1.83 GB, free: 178.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/3.763, allocations: 2.844 kB / 1.83 GB, free: 178.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001293/3.764, allocations: 364.1 kB / 1.831 GB, free: 178.4 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 () * 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.0009983/3.765, allocations: 0.5579 MB / 1.831 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006114/3.766, allocations: 350 kB / 1.831 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/3.766, allocations: 3.125 kB / 1.831 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/3.766, allocations: 175.7 kB / 1.832 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/3.769, allocations: 0.6127 MB / 1.832 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/3.771, allocations: 1.205 MB / 1.833 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/3.771, allocations: 1.065 MB / 1.834 GB, free: 177.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009405/3.772, allocations: 209.1 kB / 1.835 GB, free: 177.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/3.773, allocations: 78.34 kB / 1.835 GB, free: 177.1 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/3.773, allocations: 2.188 kB / 1.835 GB, free: 177.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04509/3.818, allocations: 22.93 MB / 1.857 GB, free: 176.6 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)