Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.58/1.58, allocations: 287.4 MB / 303.2 MB, free: 8.289 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.0009068/0.0009069, allocations: 190.2 kB / 371.8 MB, free: 10.81 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.314/1.314, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0007422/0.0007421, allocations: 94.3 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 11.75 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02636/0.1838, allocations: 38.31 MB / 1.017 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.1966, allocations: 9.647 MB / 1.026 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.198, allocations: 55.62 kB / 1.026 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.1994, allocations: 461 kB / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.2031, allocations: 1.47 MB / 1.028 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.2054, allocations: 0.8709 MB / 1.029 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004034/0.2095, allocations: 3.87 MB / 1.033 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.2108, allocations: 0.8503 MB / 1.033 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.2126, allocations: 0.9916 MB / 1.034 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.214, allocations: 0.8088 MB / 1.035 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.2142, allocations: 40 kB / 1.035 GB, free: 2.664 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.2159, allocations: 494.8 kB / 1.036 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.2162, allocations: 199.1 kB / 1.036 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.2166, allocations: 261.1 kB / 1.036 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.2183, allocations: 1.364 MB / 1.038 GB, free: 364 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2184, allocations: 0 / 1.038 GB, free: 364 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2184, allocations: 0 / 1.038 GB, free: 364 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.005e-05/0.2184, allocations: 0 / 1.038 GB, free: 364 kB / 0.6511 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.002321/0.2207, allocations: 1.297 MB / 1.039 GB, free: 15 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2208, allocations: 8.031 kB / 1.039 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.2212, allocations: 139.4 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.2229, allocations: 1.068 MB / 1.04 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.223, allocations: 54 kB / 1.04 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2231, allocations: 68 kB / 1.04 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2245, allocations: 0.7944 MB / 1.041 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.2245, allocations: 8 kB / 1.041 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.2246, allocations: 28 kB / 1.041 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.2246, allocations: 23.94 kB / 1.041 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.2257, allocations: 0.5829 MB / 1.042 GB, free: 12.16 MB / 0.6667 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.003735/0.2295, allocations: 3.547 MB / 1.045 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.2301, allocations: 282.3 kB / 1.045 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.2304, allocations: 186.5 kB / 1.045 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000471/0.2309, allocations: 0.6609 MB / 1.046 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.231, allocations: 34.56 kB / 1.046 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.231, allocations: 0 / 1.046 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001132/0.2321, allocations: 0.5437 MB / 1.047 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.2322, allocations: 55.39 kB / 1.047 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2332, allocations: 0.9175 MB / 1.048 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.2333, allocations: 33.7 kB / 1.048 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.2337, allocations: 499.6 kB / 1.048 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.2338, allocations: 106.5 kB / 1.048 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.2338, allocations: 8 kB / 1.048 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2339, allocations: 333.9 kB / 1.049 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2343, allocations: 173 kB / 1.049 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.2348, allocations: 366.8 kB / 1.049 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.2356, allocations: 0.5341 MB / 1.05 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2356, allocations: 4 kB / 1.05 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001096/0.2367, allocations: 0.6253 MB / 1.05 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2368, allocations: 8 kB / 1.05 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2368, allocations: 4 kB / 1.05 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2368, allocations: 8 kB / 1.05 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.2372, allocations: 131.8 kB / 1.05 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2373, allocations: 8 kB / 1.05 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006725/0.2379, allocations: 119.4 kB / 1.05 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.238, allocations: 24.06 kB / 1.05 GB, free: 2.391 MB / 0.6667 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.0003297/0.2383, allocations: 279.9 kB / 1.051 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.2385, allocations: 106.7 kB / 1.051 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009497/0.2394, allocations: 0.4982 MB / 1.051 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007122/0.2402, allocations: 468.9 kB / 1.052 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2402, allocations: 4 kB / 1.052 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.2405, allocations: 243.7 kB / 1.052 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.2406, allocations: 7.938 kB / 1.052 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.2411, allocations: 55.86 kB / 1.052 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.2412, allocations: 23.91 kB / 1.052 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001016/0.2422, allocations: 0.5319 MB / 1.053 GB, free: 128 kB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001245/0.2435, allocations: 0.8576 MB / 1.053 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003313/0.2439, allocations: 196.3 kB / 1.054 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007536/0.2446, allocations: 0.627 MB / 1.054 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of Backend: time 6.81e-07/0.2446, allocations: 0 / 1.054 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.2463, allocations: 0.6803 MB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of SimCode: time 0.004548/0.2508, allocations: 2.799 MB / 1.058 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.3362/0.587, allocations: 19.9 MB / 1.077 GB, free: 86.34 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)