Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 288.3 MB / 303.2 MB, free: 8.172 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.001204/0.001204, allocations: 177.6 kB / 371.8 MB, free: 10.31 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.783/1.783, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.001013/0.001013, allocations: 95.36 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004049, allocations: 16.31 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2457, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.302, allocations: 407.4 MB / 1.377 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.302, allocations: 98.77 kB / 1.377 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.866/3.169, allocations: 435.5 MB / 1.803 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.324e-06/3.169, allocations: 0 / 1.803 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001141/3.169, allocations: 34.94 kB / 1.803 GB, free: 206.8 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.003384/3.172, allocations: 1.45 MB / 1.804 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/3.172, allocations: 8.812 kB / 1.804 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/3.173, allocations: 138.2 kB / 1.804 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02673/3.199, allocations: 12.79 MB / 1.817 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/3.2, allocations: 55.61 kB / 1.817 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/3.2, allocations: 73.78 kB / 1.817 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/3.201, allocations: 0.7694 MB / 1.818 GB, free: 205.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/3.201, allocations: 3.469 kB / 1.818 GB, free: 205.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/3.201, allocations: 30.88 kB / 1.818 GB, free: 205.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/3.201, allocations: 18.19 kB / 1.818 GB, free: 205.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/3.202, allocations: 0.5636 MB / 1.818 GB, free: 205.4 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.003863/3.206, allocations: 3.547 MB / 1.822 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/3.207, allocations: 363 kB / 1.822 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/3.207, allocations: 0.665 MB / 1.823 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/3.207, allocations: 47 kB / 1.823 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/3.207, allocations: 0 / 1.823 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001249/3.208, allocations: 0.5506 MB / 1.823 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/3.208, allocations: 58.67 kB / 1.823 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/3.21, allocations: 0.8243 MB / 1.824 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/3.21, allocations: 32.11 kB / 1.824 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/3.21, allocations: 0.4948 MB / 1.825 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/3.21, allocations: 113.3 kB / 1.825 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/3.21, allocations: 13.22 kB / 1.825 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/3.21, allocations: 328.8 kB / 1.825 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/3.21, allocations: 155.7 kB / 1.825 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/3.211, allocations: 382.6 kB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/3.211, allocations: 226 kB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/3.211, allocations: 1.219 kB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001078/3.212, allocations: 0.6022 MB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/3.213, allocations: 7.281 kB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/3.213, allocations: 5.25 kB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/3.213, allocations: 12.42 kB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/3.213, allocations: 116.9 kB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/3.213, allocations: 14.89 kB / 1.826 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/3.214, allocations: 115.9 kB / 1.827 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/3.214, allocations: 25.19 kB / 1.827 GB, free: 201.5 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.0004169/3.214, allocations: 272.3 kB / 1.827 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/3.215, allocations: 100.2 kB / 1.827 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/3.216, allocations: 0.5133 MB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/3.216, allocations: 3.344 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/3.216, allocations: 1.531 kB / 1.827 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007358/3.216, allocations: 482.5 kB / 1.828 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/3.219, allocations: 1.461 MB / 1.829 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/3.219, allocations: 3.031 kB / 1.829 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/3.219, allocations: 86.64 kB / 1.829 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/3.219, allocations: 7.859 kB / 1.829 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/3.219, allocations: 9.906 kB / 1.829 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/3.219, allocations: 5.094 kB / 1.829 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/3.219, allocations: 3.938 kB / 1.829 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/3.22, allocations: 0.8837 MB / 1.83 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/3.221, allocations: 246.1 kB / 1.831 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/3.221, allocations: 7.5 kB / 1.831 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/3.221, allocations: 56.39 kB / 1.831 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/3.221, allocations: 32.36 kB / 1.831 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/3.221, allocations: 20.19 kB / 1.831 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008491/3.222, allocations: 0.6512 MB / 1.831 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.1e-07/3.222, allocations: 0 / 1.831 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001386/3.224, allocations: 363.6 kB / 1.832 GB, free: 200.1 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.001049/3.225, allocations: 0.5636 MB / 1.832 GB, free: 200 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009252/3.226, allocations: 430.2 kB / 1.833 GB, free: 200 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/3.226, allocations: 1.781 kB / 1.833 GB, free: 200 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/3.226, allocations: 209.9 kB / 1.833 GB, free: 200 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/3.229, allocations: 0.6026 MB / 1.833 GB, free: 200 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/3.231, allocations: 1.957 MB / 1.835 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/3.232, allocations: 1.062 MB / 1.836 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00092/3.233, allocations: 202.7 kB / 1.837 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/3.233, allocations: 85.48 kB / 1.837 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.252e-06/3.233, allocations: 3.172 kB / 1.837 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.03648/3.27, allocations: 22.41 MB / 1.859 GB, free: 197.8 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)