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.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009997/0.0009998, allocations: 173.8 kB / 326.5 MB, free: 2.688 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.45/1.45, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007487/0.0007484, allocations: 85.25 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002848, allocations: 8.688 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02531/0.1667, allocations: 41.03 MB / 0.9368 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009838/0.1766, allocations: 10.34 MB / 0.9469 GB, free: 16.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.1781, allocations: 47.69 kB / 0.9469 GB, free: 16.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1793, allocations: 0.5245 MB / 0.9475 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.1828, allocations: 1.731 MB / 0.9492 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.1849, allocations: 1.051 MB / 0.9502 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00321/0.1881, allocations: 4.491 MB / 0.9546 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.1889, allocations: 0.8477 MB / 0.9554 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1902, allocations: 1.034 MB / 0.9564 GB, free: 6.848 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.1909, allocations: 0.8592 MB / 0.9572 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.191, allocations: 40 kB / 0.9573 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.1924, allocations: 0.7638 MB / 0.958 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.1925, allocations: 219 kB / 0.9582 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.1929, allocations: 0.5439 MB / 0.9588 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.1942, allocations: 1.814 MB / 0.9605 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1942, allocations: 0 / 0.9605 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1942, allocations: 4 kB / 0.9605 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1943, allocations: 0 / 0.9605 GB, free: 2.594 MB / 0.6042 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.001568/0.1958, allocations: 1.293 MB / 0.9618 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1959, allocations: 8.031 kB / 0.9618 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.1962, allocations: 139.4 kB / 0.9619 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.1973, allocations: 1.057 MB / 0.963 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.1974, allocations: 54.05 kB / 0.963 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/0.1975, allocations: 75.91 kB / 0.9631 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1987, allocations: 0.7944 MB / 0.9639 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1987, allocations: 0 / 0.9639 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.1988, allocations: 36 kB / 0.9639 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.1988, allocations: 27.92 kB / 0.9639 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1999, allocations: 0.5829 MB / 0.9645 GB, free: 14.4 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.003503/0.2034, allocations: 3.544 MB / 0.968 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.204, allocations: 271.7 kB / 0.9682 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.2043, allocations: 187.4 kB / 0.9684 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/0.2048, allocations: 0.6609 MB / 0.969 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2048, allocations: 42.55 kB / 0.9691 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.2048, allocations: 0 / 0.9691 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31): time 0.001106/0.206, allocations: 0.5449 MB / 0.9696 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.206, allocations: 59.41 kB / 0.9697 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.2071, allocations: 0.9215 MB / 0.9706 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2071, allocations: 33.7 kB / 0.9706 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.2075, allocations: 495.6 kB / 0.9711 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/0.2076, allocations: 114.4 kB / 0.9712 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.2077, allocations: 57.69 kB / 0.9712 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2078, allocations: 325.9 kB / 0.9716 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.2081, allocations: 173 kB / 0.9717 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.2086, allocations: 366.9 kB / 0.9721 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.2094, allocations: 0.5342 MB / 0.9726 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2094, allocations: 11.94 kB / 0.9726 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001065/0.2105, allocations: 0.6255 MB / 0.9732 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2105, allocations: 15.98 kB / 0.9732 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2106, allocations: 7.938 kB / 0.9732 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2106, allocations: 8 kB / 0.9732 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.211, allocations: 127.8 kB / 0.9734 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.211, allocations: 11.98 kB / 0.9734 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.2116, allocations: 119.1 kB / 0.9735 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.2117, allocations: 28 kB / 0.9735 GB, free: 4.555 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.0003167/0.212, allocations: 281.5 kB / 0.9738 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.2122, allocations: 94.88 kB / 0.9739 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009224/0.2131, allocations: 0.5 MB / 0.9744 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006993/0.2138, allocations: 472.9 kB / 0.9748 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2138, allocations: 0 / 0.9748 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.2141, allocations: 215.8 kB / 0.975 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.2142, allocations: 19.94 kB / 0.975 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.2147, allocations: 57.8 kB / 0.9751 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.2148, allocations: 31.88 kB / 0.9751 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009879/0.2158, allocations: 0.5197 MB / 0.9756 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001237/0.217, allocations: 0.8578 MB / 0.9765 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003321/0.2174, allocations: 196.8 kB / 0.9767 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007276/0.2181, allocations: 0.6426 MB / 0.9773 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of Backend: time 5.11e-07/0.2181, allocations: 0 / 0.9773 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.2197, allocations: 0.6836 MB / 0.978 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of SimCode: time 0.00413/0.2238, allocations: 2.77 MB / 0.9807 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.0291/0.2529, allocations: 20.26 MB / 1 GB, free: 9.047 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)