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.372/1.372, allocations: 252 MB / 267.6 MB, free: 10.9 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.0009775/0.0009776, allocations: 182.2 kB / 327.3 MB, free: 2.191 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.617/1.617, allocations: 205.4 MB / 0.5783 GB, free: 20.18 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.0007689/0.0007689, allocations: 90.31 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 9.719 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2096, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02613/0.2358, allocations: 38.31 MB / 0.9382 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2477, allocations: 9.627 MB / 0.9476 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.2499, allocations: 43.69 kB / 0.9477 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.2516, allocations: 457.1 kB / 0.9481 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.2563, allocations: 1.471 MB / 0.9496 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.2592, allocations: 0.8475 MB / 0.9504 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004294/0.2635, allocations: 3.831 MB / 0.9541 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.2651, allocations: 0.7336 MB / 0.9548 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.2674, allocations: 0.9916 MB / 0.9558 GB, free: 7.402 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.2689, allocations: 0.801 MB / 0.9566 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.2692, allocations: 36 kB / 0.9566 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.2711, allocations: 494.8 kB / 0.9571 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.2715, allocations: 195.1 kB / 0.9573 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005981/0.2721, allocations: 261.1 kB / 0.9575 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.2742, allocations: 1.356 MB / 0.9589 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2742, allocations: 0 / 0.9589 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2742, allocations: 0 / 0.9589 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.063e-05/0.2743, allocations: 0 / 0.9589 GB, free: 4.266 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.002796/0.2771, allocations: 1.308 MB / 0.9601 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.2772, allocations: 12.03 kB / 0.9602 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.2777, allocations: 134.5 kB / 0.9603 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.2799, allocations: 1.018 MB / 0.9613 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.28, allocations: 57.95 kB / 0.9613 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.2801, allocations: 72 kB / 0.9614 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.2816, allocations: 0.7905 MB / 0.9622 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.2817, allocations: 0 / 0.9622 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/0.2817, allocations: 39.98 kB / 0.9622 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.2818, allocations: 19.98 kB / 0.9622 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2829, allocations: 0.5906 MB / 0.9628 GB, free: 100 kB / 0.6042 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.005177/0.2881, allocations: 3.528 MB / 0.9663 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.2887, allocations: 266.6 kB / 0.9665 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.2891, allocations: 188.4 kB / 0.9667 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.2897, allocations: 0.6609 MB / 0.9673 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2898, allocations: 46.55 kB / 0.9674 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 3.357e-06/0.2898, allocations: 0 / 0.9674 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31): time 0.001303/0.2911, allocations: 0.5397 MB / 0.9679 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2911, allocations: 55.41 kB / 0.968 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.2924, allocations: 0.9176 MB / 0.9689 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.2925, allocations: 37.7 kB / 0.9689 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.2929, allocations: 495.5 kB / 0.9694 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.293, allocations: 114.4 kB / 0.9695 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.2931, allocations: 12 kB / 0.9695 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2932, allocations: 333.9 kB / 0.9698 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.2936, allocations: 177 kB / 0.97 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.2941, allocations: 354.9 kB / 0.9703 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.2946, allocations: 231.9 kB / 0.9705 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2946, allocations: 4 kB / 0.9705 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001221/0.2959, allocations: 0.6408 MB / 0.9712 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2959, allocations: 4 kB / 0.9712 GB, free: 7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2959, allocations: 11.98 kB / 0.9712 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.2959, allocations: 8 kB / 0.9712 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.2964, allocations: 127.8 kB / 0.9713 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.2965, allocations: 8 kB / 0.9713 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.2973, allocations: 119.3 kB / 0.9714 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.2973, allocations: 24 kB / 0.9714 GB, free: 6.707 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004428/0.2978, allocations: 281.5 kB / 0.9717 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.2979, allocations: 98.78 kB / 0.9718 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.299, allocations: 496.5 kB / 0.9723 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.299, allocations: 4 kB / 0.9723 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.299, allocations: 8 kB / 0.9723 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007372/0.2997, allocations: 472.6 kB / 0.9727 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.302, allocations: 1.362 MB / 0.9741 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.302, allocations: 0 / 0.9741 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.3024, allocations: 88.03 kB / 0.9742 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3024, allocations: 0 / 0.9742 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.3024, allocations: 16 kB / 0.9742 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3024, allocations: 4.016 kB / 0.9742 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.3025, allocations: 8 kB / 0.9742 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.3038, allocations: 0.7852 MB / 0.975 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.3042, allocations: 235.8 kB / 0.9752 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.3044, allocations: 16.06 kB / 0.9752 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.305, allocations: 51.89 kB / 0.9752 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.3051, allocations: 35.84 kB / 0.9753 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.3051, allocations: 15.98 kB / 0.9753 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009419/0.3061, allocations: 0.6391 MB / 0.9759 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3061, allocations: 0 / 0.9759 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001011/0.3071, allocations: 323.5 kB / 0.9762 GB, free: 1.637 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008194/0.3079, allocations: 374.2 kB / 0.9766 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009923/0.3089, allocations: 436.8 kB / 0.977 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.309, allocations: 4.062 kB / 0.977 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.3094, allocations: 191.7 kB / 0.9772 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.3123, allocations: 0.6011 MB / 0.9778 GB, free: 68 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.3154, allocations: 1.979 MB / 0.9797 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.3161, allocations: 1.036 MB / 0.9807 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.3163, allocations: 83.42 kB / 0.9808 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.3164, allocations: 0 / 0.9808 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.02613/0.3425, allocations: 17.57 MB / 0.998 GB, free: 11.42 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)