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.008492/0.008492, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001848/0.001848, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.533/1.533, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001493/0.001493, allocations: 67.91 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.228, allocations: 104.7 MB / 0.8281 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04134/0.2694, allocations: 41.57 MB / 0.8686 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.2838, allocations: 10.28 MB / 0.8787 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.2854, allocations: 55.69 kB / 0.8787 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.287, allocations: 0.6326 MB / 0.8794 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004315/0.2913, allocations: 1.869 MB / 0.8812 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.2941, allocations: 1.171 MB / 0.8823 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.2979, allocations: 3.375 MB / 0.8856 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.2994, allocations: 1.044 MB / 0.8866 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.302, allocations: 1.237 MB / 0.8879 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.3034, allocations: 0.8789 MB / 0.8887 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.3036, allocations: 96 kB / 0.8888 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.3058, allocations: 0.8617 MB / 0.8896 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.3062, allocations: 275 kB / 0.8899 GB, free: 0.6641 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007726/0.307, allocations: 0.6221 MB / 0.8905 GB, free: 40 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.3095, allocations: 1.916 MB / 0.8924 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3095, allocations: 0 / 0.8924 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3095, allocations: 0 / 0.8924 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.3095, allocations: 0 / 0.8924 GB, free: 14.12 MB / 0.7169 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.002259/0.3118, allocations: 1.503 MB / 0.8939 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3118, allocations: 11.97 kB / 0.8939 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.3122, allocations: 139.4 kB / 0.894 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.3139, allocations: 1.076 MB / 0.895 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.3139, allocations: 61.94 kB / 0.8951 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.314, allocations: 76 kB / 0.8952 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.3153, allocations: 0.7788 MB / 0.8959 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.3154, allocations: 0 / 0.8959 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.3154, allocations: 35.98 kB / 0.896 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.3155, allocations: 20 kB / 0.896 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.3166, allocations: 0.5711 MB / 0.8966 GB, free: 9.715 MB / 0.7169 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.003704/0.3203, allocations: 3.536 MB / 0.9 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.3209, allocations: 262.4 kB / 0.9003 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.3212, allocations: 181.3 kB / 0.9004 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/0.3217, allocations: 0.657 MB / 0.9011 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3218, allocations: 34.56 kB / 0.9011 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.3218, allocations: 0 / 0.9011 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001182/0.323, allocations: 0.5125 MB / 0.9016 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.323, allocations: 59.34 kB / 0.9017 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3242, allocations: 0.937 MB / 0.9026 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.3242, allocations: 37.7 kB / 0.9026 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.3246, allocations: 499.6 kB / 0.9031 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.3247, allocations: 114.5 kB / 0.9032 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.3248, allocations: 114.1 kB / 0.9033 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.325, allocations: 333.9 kB / 0.9036 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.3254, allocations: 169 kB / 0.9038 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.3259, allocations: 343 kB / 0.9041 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008204/0.3267, allocations: 0.5109 MB / 0.9046 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3267, allocations: 4 kB / 0.9046 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00117/0.3279, allocations: 0.6054 MB / 0.9052 GB, free: 244 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3279, allocations: 8 kB / 0.9052 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3279, allocations: 4 kB / 0.9052 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3279, allocations: 8 kB / 0.9052 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.3284, allocations: 132.3 kB / 0.9053 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.3284, allocations: 11.94 kB / 0.9054 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.329, allocations: 91.27 kB / 0.9054 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.3291, allocations: 24 kB / 0.9055 GB, free: 15.96 MB / 0.7325 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.0003503/0.3294, allocations: 277.5 kB / 0.9057 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.3296, allocations: 94.88 kB / 0.9058 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000987/0.3306, allocations: 491.9 kB / 0.9063 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3306, allocations: 4 kB / 0.9063 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3306, allocations: 3.938 kB / 0.9063 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007384/0.3314, allocations: 456.8 kB / 0.9067 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.3334, allocations: 1.347 MB / 0.9081 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3334, allocations: 8.156 kB / 0.9081 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.3337, allocations: 79.88 kB / 0.9081 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3337, allocations: 4 kB / 0.9081 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.3338, allocations: 12 kB / 0.9082 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3338, allocations: 4 kB / 0.9082 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3338, allocations: 4 kB / 0.9082 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3351, allocations: 0.7598 MB / 0.9089 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.3354, allocations: 227.7 kB / 0.9091 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.3355, allocations: 8 kB / 0.9091 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.336, allocations: 31.94 kB / 0.9092 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.3361, allocations: 23.97 kB / 0.9092 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.3361, allocations: 19.98 kB / 0.9092 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008546/0.337, allocations: 0.6548 MB / 0.9098 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.337, allocations: 4.062 kB / 0.9098 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001019/0.338, allocations: 339.4 kB / 0.9102 GB, free: 10.98 MB / 0.7325 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.0007938/0.3388, allocations: 382.3 kB / 0.9105 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009002/0.3397, allocations: 424.4 kB / 0.9109 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3398, allocations: 0 / 0.9109 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.3401, allocations: 184.8 kB / 0.9111 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.3428, allocations: 0.6181 MB / 0.9117 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3451, allocations: 1.582 MB / 0.9133 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.3457, allocations: 1.036 MB / 0.9143 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006025/0.3463, allocations: 195.6 kB / 0.9145 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.3465, allocations: 83.41 kB / 0.9145 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of SimCode: time 1.913e-06/0.3465, allocations: 0 / 0.9145 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of Templates: time 0.4477/0.7942, allocations: 21.29 MB / 0.9353 GB, free: 88.49 MB / 0.7325 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)