Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.275/1.275, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009719/0.0009718, allocations: 184 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007054/0.0007054, allocations: 96.48 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003572, allocations: 15.97 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 106.3 MB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6874/0.8497, allocations: 399.8 MB / 1.292 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.85, allocations: 99.7 kB / 1.292 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.032/1.882, allocations: 420.6 MB / 1.702 GB, free: 47.62 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.553e-06/1.882, allocations: 0 / 1.702 GB, free: 47.62 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000121/1.882, allocations: 31.98 kB / 1.703 GB, free: 47.59 MB / 0.8855 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.002735/1.885, allocations: 1.446 MB / 1.704 GB, free: 46.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/1.885, allocations: 12.03 kB / 1.704 GB, free: 46.08 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/1.885, allocations: 135.4 kB / 1.704 GB, free: 45.95 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/1.903, allocations: 11.45 MB / 1.715 GB, free: 34.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/1.903, allocations: 58.38 kB / 1.715 GB, free: 34.26 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.904, allocations: 72.38 kB / 1.715 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/1.905, allocations: 0.7715 MB / 1.716 GB, free: 33.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/1.905, allocations: 7.922 kB / 1.716 GB, free: 33.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/1.905, allocations: 35.94 kB / 1.716 GB, free: 33.34 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/1.905, allocations: 20 kB / 1.716 GB, free: 33.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009662/1.906, allocations: 0.5594 MB / 1.717 GB, free: 32.76 MB / 0.8855 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.00335/1.909, allocations: 3.533 MB / 1.72 GB, free: 29 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/1.91, allocations: 366.7 kB / 1.721 GB, free: 28.62 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/1.91, allocations: 198 kB / 1.721 GB, free: 28.42 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/1.911, allocations: 0.6609 MB / 1.721 GB, free: 27.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/1.911, allocations: 42.5 kB / 1.721 GB, free: 27.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/1.911, allocations: 0 / 1.721 GB, free: 27.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.0009987/1.912, allocations: 0.5611 MB / 1.722 GB, free: 27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.912, allocations: 59.39 kB / 1.722 GB, free: 26.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/1.913, allocations: 0.9098 MB / 1.723 GB, free: 26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/1.913, allocations: 37.7 kB / 1.723 GB, free: 25.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/1.913, allocations: 499.6 kB / 1.723 GB, free: 25.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/1.913, allocations: 118.4 kB / 1.724 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/1.913, allocations: 8 kB / 1.724 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.464e-05/1.913, allocations: 326 kB / 1.724 GB, free: 25.01 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/1.913, allocations: 161 kB / 1.724 GB, free: 24.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/1.914, allocations: 381.2 kB / 1.724 GB, free: 24.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/1.914, allocations: 0.5109 MB / 1.725 GB, free: 23.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.914, allocations: 4 kB / 1.725 GB, free: 23.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009298/1.915, allocations: 0.6052 MB / 1.725 GB, free: 23.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.915, allocations: 8 kB / 1.725 GB, free: 23.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.915, allocations: 4 kB / 1.725 GB, free: 23.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.915, allocations: 8 kB / 1.725 GB, free: 23.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/1.916, allocations: 124.2 kB / 1.726 GB, free: 23.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.916, allocations: 8 kB / 1.726 GB, free: 23.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/1.916, allocations: 107.2 kB / 1.726 GB, free: 22.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/1.916, allocations: 31.98 kB / 1.726 GB, free: 22.9 MB / 0.8855 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.0003105/1.917, allocations: 278 kB / 1.726 GB, free: 22.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.917, allocations: 98.81 kB / 1.726 GB, free: 22.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008033/1.918, allocations: 0.5159 MB / 1.727 GB, free: 21.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.918, allocations: 4 kB / 1.727 GB, free: 21.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.918, allocations: 0 / 1.727 GB, free: 21.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005621/1.918, allocations: 484 kB / 1.727 GB, free: 21.48 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/1.92, allocations: 1.439 MB / 1.728 GB, free: 19.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.92, allocations: 0 / 1.728 GB, free: 19.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/1.92, allocations: 83.88 kB / 1.729 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.92, allocations: 4 kB / 1.729 GB, free: 19.87 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/1.92, allocations: 8 kB / 1.729 GB, free: 19.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.92, allocations: 4 kB / 1.729 GB, free: 19.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.92, allocations: 0 / 1.729 GB, free: 19.86 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/1.921, allocations: 0.833 MB / 1.729 GB, free: 19 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/1.922, allocations: 235.8 kB / 1.73 GB, free: 18.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.922, allocations: 11.98 kB / 1.73 GB, free: 18.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/1.922, allocations: 63.86 kB / 1.73 GB, free: 18.67 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/1.922, allocations: 27.91 kB / 1.73 GB, free: 18.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/1.922, allocations: 15.98 kB / 1.73 GB, free: 18.63 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006441/1.923, allocations: 0.6391 MB / 1.73 GB, free: 17.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/1.923, allocations: 4 kB / 1.73 GB, free: 17.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000912/1.924, allocations: 355.4 kB / 1.731 GB, free: 17.63 MB / 0.8855 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.0008123/1.925, allocations: 0.5414 MB / 1.731 GB, free: 17.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006892/1.926, allocations: 416.7 kB / 1.732 GB, free: 16.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.926, allocations: 4.062 kB / 1.732 GB, free: 16.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/1.926, allocations: 199.8 kB / 1.732 GB, free: 16.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.928, allocations: 0.6191 MB / 1.732 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/1.93, allocations: 1.961 MB / 1.734 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/1.931, allocations: 1.052 MB / 1.735 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006947/1.932, allocations: 184.6 kB / 1.736 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/1.932, allocations: 83.41 kB / 1.736 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/1.932, allocations: 7.938 kB / 1.736 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.3574/2.289, allocations: 22.53 MB / 1.758 GB, free: 187.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)