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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007733/0.0007735, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.654, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03555/0.6896, allocations: 34.81 MB / 0.762 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.7044, allocations: 8.859 MB / 0.7706 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.7068, allocations: 43.62 kB / 0.7707 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.709, allocations: 0.6064 MB / 0.7713 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005993/0.715, allocations: 1.789 MB / 0.773 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.7192, allocations: 1.278 MB / 0.7742 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00398/0.7232, allocations: 1.948 MB / 0.7761 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.7244, allocations: 0.7435 MB / 0.7769 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.7266, allocations: 0.8796 MB / 0.7777 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.7278, allocations: 0.5482 MB / 0.7783 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.728, allocations: 36 kB / 0.7783 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.7302, allocations: 0.5422 MB / 0.7788 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.7305, allocations: 183.2 kB / 0.779 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.7308, allocations: 265.1 kB / 0.7793 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.7325, allocations: 1.336 MB / 0.7806 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7325, allocations: 0 / 0.7806 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7325, allocations: 0 / 0.7806 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.7325, allocations: 8 kB / 0.7806 GB, free: 5.438 MB / 0.5919 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.002201/0.7347, allocations: 1.297 MB / 0.7818 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.7348, allocations: 15.97 kB / 0.7819 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.7351, allocations: 130.5 kB / 0.782 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.7367, allocations: 0.9591 MB / 0.7829 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.7368, allocations: 65.88 kB / 0.783 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.7369, allocations: 71.98 kB / 0.783 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.7384, allocations: 0.7866 MB / 0.7838 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.7384, allocations: 7.922 kB / 0.7838 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.7385, allocations: 28 kB / 0.7838 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/0.7385, allocations: 20 kB / 0.7839 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.7397, allocations: 0.5867 MB / 0.7844 GB, free: 1.344 MB / 0.5919 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.004802/0.7445, allocations: 3.563 MB / 0.7879 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.7452, allocations: 269.2 kB / 0.7882 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/0.746, allocations: 0.6576 MB / 0.7888 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/0.7461, allocations: 42.5 kB / 0.7889 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 3.135e-06/0.7461, allocations: 0 / 0.7889 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001411/0.7475, allocations: 0.5483 MB / 0.7894 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.7476, allocations: 55.41 kB / 0.7894 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.7488, allocations: 0.9566 MB / 0.7904 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.7489, allocations: 37.7 kB / 0.7904 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.7493, allocations: 495.6 kB / 0.7909 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.7494, allocations: 118.4 kB / 0.791 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.7495, allocations: 8 kB / 0.791 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.7496, allocations: 329.9 kB / 0.7913 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.75, allocations: 173 kB / 0.7915 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.7505, allocations: 354.9 kB / 0.7918 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.7509, allocations: 227.9 kB / 0.792 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7509, allocations: 8 kB / 0.7921 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001154/0.7521, allocations: 0.6293 MB / 0.7927 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.7521, allocations: 14.22 kB / 0.7927 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7521, allocations: 4 kB / 0.7927 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.7521, allocations: 8 kB / 0.7927 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.7526, allocations: 131.8 kB / 0.7928 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.7526, allocations: 11.94 kB / 0.7928 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.7534, allocations: 119.2 kB / 0.7929 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.7534, allocations: 27.94 kB / 0.793 GB, free: 8.074 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003759/0.7538, allocations: 277.6 kB / 0.7932 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.754, allocations: 102.8 kB / 0.7933 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009784/0.7549, allocations: 0.4886 MB / 0.7938 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.755, allocations: 7.984 kB / 0.7938 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.755, allocations: 3.938 kB / 0.7938 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007346/0.7557, allocations: 476.6 kB / 0.7943 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.7579, allocations: 1.385 MB / 0.7956 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7579, allocations: 0 / 0.7956 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.7583, allocations: 87.98 kB / 0.7957 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.7583, allocations: 4 kB / 0.7957 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.7583, allocations: 11.98 kB / 0.7957 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.7584, allocations: 7.953 kB / 0.7957 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7584, allocations: 0 / 0.7957 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.7597, allocations: 0.8478 MB / 0.7966 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.7601, allocations: 247.7 kB / 0.7968 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.7602, allocations: 12 kB / 0.7968 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.7608, allocations: 66.34 kB / 0.7969 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.7609, allocations: 27.92 kB / 0.7969 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.7609, allocations: 20.05 kB / 0.7969 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008911/0.7618, allocations: 0.6704 MB / 0.7976 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7618, allocations: 0 / 0.7976 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001132/0.7629, allocations: 339.4 kB / 0.7979 GB, free: 2.828 MB / 0.6075 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.0008377/0.7638, allocations: 390.6 kB / 0.7983 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008798/0.7647, allocations: 428.8 kB / 0.7987 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7647, allocations: 8.062 kB / 0.7987 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.7651, allocations: 196.5 kB / 0.7989 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.7678, allocations: 0.5825 MB / 0.7994 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.7705, allocations: 1.947 MB / 0.8013 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.7712, allocations: 1.056 MB / 0.8024 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007945/0.772, allocations: 197.8 kB / 0.8026 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.7722, allocations: 83.36 kB / 0.8026 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.7722, allocations: 0 / 0.8026 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.03483/0.807, allocations: 20.1 MB / 0.8223 GB, free: 10.09 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: