Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.587/1.587, allocations: 288.4 MB / 304.3 MB, free: 8.105 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.0009342/0.0009342, allocations: 179.4 kB / 372.9 MB, free: 10.13 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.337/1.337, allocations: 205.4 MB / 0.6316 GB, free: 9.918 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.000778/0.0007782, allocations: 92.19 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003708, allocations: 20.19 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03159/0.2101, allocations: 38.32 MB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.224, allocations: 9.658 MB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.2255, allocations: 47.69 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.2268, allocations: 457.1 kB / 1.028 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.2308, allocations: 1.58 MB / 1.03 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.2333, allocations: 0.8831 MB / 1.03 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00446/0.2378, allocations: 3.87 MB / 1.034 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.2393, allocations: 0.8578 MB / 1.035 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.2414, allocations: 1.011 MB / 1.036 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.2425, allocations: 0.8088 MB / 1.037 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2426, allocations: 40 kB / 1.037 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.2443, allocations: 0.7208 MB / 1.038 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.2446, allocations: 199.1 kB / 1.038 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.2452, allocations: 0.5421 MB / 1.038 GB, free: 188 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.2469, allocations: 1.438 MB / 1.04 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2469, allocations: 0 / 1.04 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2469, allocations: 0 / 1.04 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.247, allocations: 0 / 1.04 GB, free: 14.74 MB / 0.6667 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.002122/0.2491, allocations: 1.297 MB / 1.041 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2491, allocations: 12.02 kB / 1.041 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.2495, allocations: 139.4 kB / 1.041 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.2511, allocations: 1.064 MB / 1.042 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.2512, allocations: 53.98 kB / 1.042 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.2513, allocations: 72 kB / 1.042 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.2526, allocations: 0.7905 MB / 1.043 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2526, allocations: 4 kB / 1.043 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.2527, allocations: 32 kB / 1.043 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.2527, allocations: 23.94 kB / 1.043 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.2538, allocations: 0.5867 MB / 1.044 GB, free: 10.54 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.003939/0.2578, allocations: 3.547 MB / 1.047 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.2584, allocations: 279.1 kB / 1.047 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.2588, allocations: 190.2 kB / 1.048 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004956/0.2593, allocations: 0.6609 MB / 1.048 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2593, allocations: 42.56 kB / 1.048 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.676e-06/0.2594, allocations: 0 / 1.048 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001161/0.2605, allocations: 0.5359 MB / 1.049 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.2606, allocations: 55.41 kB / 1.049 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.2617, allocations: 0.9175 MB / 1.05 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.2617, allocations: 37.7 kB / 1.05 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.2621, allocations: 491.6 kB / 1.05 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.2622, allocations: 114.5 kB / 1.05 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.2622, allocations: 12 kB / 1.05 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2624, allocations: 333.9 kB / 1.051 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.2627, allocations: 173 kB / 1.051 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.2632, allocations: 362.8 kB / 1.051 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.264, allocations: 0.5341 MB / 1.052 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2641, allocations: 4 kB / 1.052 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001072/0.2651, allocations: 0.6254 MB / 1.052 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2652, allocations: 8 kB / 1.052 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2652, allocations: 4 kB / 1.052 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2652, allocations: 8 kB / 1.052 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.2656, allocations: 127.8 kB / 1.053 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.2657, allocations: 15.92 kB / 1.053 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.2663, allocations: 111.4 kB / 1.053 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.2664, allocations: 27.98 kB / 1.053 GB, free: 0.7656 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.0003568/0.2667, allocations: 278.6 kB / 1.053 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2669, allocations: 98.78 kB / 1.053 GB, free: 396 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000938/0.2678, allocations: 0.4967 MB / 1.053 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007001/0.2685, allocations: 472.8 kB / 1.054 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2685, allocations: 4 kB / 1.054 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.2689, allocations: 239.7 kB / 1.054 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/0.269, allocations: 11.88 kB / 1.054 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.2695, allocations: 59.09 kB / 1.054 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.2696, allocations: 27.95 kB / 1.054 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00103/0.2706, allocations: 0.528 MB / 1.055 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001226/0.2718, allocations: 0.8578 MB / 1.056 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003322/0.2722, allocations: 192.1 kB / 1.056 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007939/0.273, allocations: 0.6271 MB / 1.056 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of Backend: time 7.01e-07/0.273, allocations: 0 / 1.056 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.2747, allocations: 0.7053 MB / 1.057 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of SimCode: time 0.004311/0.279, allocations: 2.795 MB / 1.06 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of Templates: time 0.3391/0.6181, allocations: 20.18 MB / 1.08 GB, free: 87.52 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)