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.353/1.353, allocations: 252 MB / 268 MB, free: 10.87 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.0009669/0.0009668, allocations: 182.6 kB / 327.6 MB, free: 2.094 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.452/1.452, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.000768/0.0007681, allocations: 88.12 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002943, allocations: 8.719 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1745, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02926/0.2038, allocations: 40.5 MB / 0.941 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.2153, allocations: 10.21 MB / 0.951 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.2173, allocations: 47.69 kB / 0.951 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2191, allocations: 0.5284 MB / 0.9515 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005523/0.2247, allocations: 1.736 MB / 0.9532 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.2281, allocations: 1.048 MB / 0.9543 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004528/0.2326, allocations: 4.494 MB / 0.9586 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.2341, allocations: 0.8576 MB / 0.9595 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.2361, allocations: 1.038 MB / 0.9605 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.2375, allocations: 0.8553 MB / 0.9613 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.2378, allocations: 36 kB / 0.9614 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.2398, allocations: 0.7676 MB / 0.9621 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.2402, allocations: 211 kB / 0.9623 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008715/0.2411, allocations: 0.569 MB / 0.9629 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.2431, allocations: 1.426 MB / 0.9643 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2432, allocations: 3.984 kB / 0.9643 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2432, allocations: 0 / 0.9643 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.803e-05/0.2432, allocations: 0 / 0.9643 GB, free: 14.97 MB / 0.6198 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.002589/0.2458, allocations: 1.293 MB / 0.9655 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2459, allocations: 8.031 kB / 0.9655 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.2463, allocations: 135.4 kB / 0.9657 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.2482, allocations: 1.06 MB / 0.9667 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.2482, allocations: 58 kB / 0.9668 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2484, allocations: 71.91 kB / 0.9668 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.2497, allocations: 0.7983 MB / 0.9676 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.2498, allocations: 0 / 0.9676 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.2498, allocations: 28 kB / 0.9676 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.2499, allocations: 19.98 kB / 0.9677 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.2511, allocations: 0.5945 MB / 0.9682 GB, free: 10.78 MB / 0.6198 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.004089/0.2552, allocations: 3.536 MB / 0.9717 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.2557, allocations: 278.4 kB / 0.9719 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.2561, allocations: 184.8 kB / 0.9721 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004905/0.2566, allocations: 0.6609 MB / 0.9728 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.2566, allocations: 38.56 kB / 0.9728 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.2566, allocations: 0 / 0.9728 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31): time 0.001236/0.2579, allocations: 0.5488 MB / 0.9733 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.2579, allocations: 55.41 kB / 0.9734 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.2592, allocations: 0.9254 MB / 0.9743 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.2592, allocations: 33.7 kB / 0.9743 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.2596, allocations: 499.5 kB / 0.9748 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.2597, allocations: 114.4 kB / 0.9749 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.2598, allocations: 12 kB / 0.9749 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2599, allocations: 329.9 kB / 0.9752 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.2602, allocations: 177 kB / 0.9754 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.2607, allocations: 362.8 kB / 0.9758 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008181/0.2615, allocations: 0.542 MB / 0.9763 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.2616, allocations: 0 / 0.9763 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001152/0.2627, allocations: 0.6251 MB / 0.9769 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2627, allocations: 8 kB / 0.9769 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2628, allocations: 4.438 kB / 0.9769 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.2628, allocations: 12 kB / 0.9769 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.2633, allocations: 127.8 kB / 0.977 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.2633, allocations: 19.91 kB / 0.9771 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.2641, allocations: 119.1 kB / 0.9772 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.2641, allocations: 31.92 kB / 0.9772 GB, free: 0.9727 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004121/0.2646, allocations: 273.6 kB / 0.9775 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.2647, allocations: 94.88 kB / 0.9776 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009765/0.2657, allocations: 0.4962 MB / 0.978 GB, free: 100 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.2657, allocations: 4 kB / 0.978 GB, free: 96 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2657, allocations: 0 / 0.978 GB, free: 96 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007197/0.2665, allocations: 476.8 kB / 0.9785 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.2686, allocations: 1.373 MB / 0.9798 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2687, allocations: 0 / 0.9798 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.269, allocations: 87.83 kB / 0.9799 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.269, allocations: 0 / 0.9799 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.2691, allocations: 12.16 kB / 0.9799 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2691, allocations: 4 kB / 0.9799 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2691, allocations: 7.984 kB / 0.9799 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.2703, allocations: 0.7851 MB / 0.9807 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.2707, allocations: 239.7 kB / 0.9809 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.2709, allocations: 8 kB / 0.981 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/0.2715, allocations: 63.84 kB / 0.981 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.2716, allocations: 23.97 kB / 0.981 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.2717, allocations: 23.98 kB / 0.9811 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008622/0.2725, allocations: 0.6469 MB / 0.9817 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2725, allocations: 0 / 0.9817 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009654/0.2735, allocations: 331.4 kB / 0.982 GB, free: 11.88 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007817/0.2743, allocations: 379.1 kB / 0.9824 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009629/0.2753, allocations: 441.1 kB / 0.9828 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.2753, allocations: 8.062 kB / 0.9828 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.2757, allocations: 191.8 kB / 0.983 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.2787, allocations: 0.5995 MB / 0.9836 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.2815, allocations: 2.022 MB / 0.9855 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.2821, allocations: 1.032 MB / 0.9865 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.2823, allocations: 79.42 kB / 0.9866 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.2823, allocations: 0 / 0.9866 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of Templates: time 0.02691/0.3093, allocations: 17.59 MB / 1.004 GB, free: 5.602 MB / 0.6511 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)