Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 252 MB / 268 MB, free: 10.8 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.0009685/0.0009685, allocations: 169.8 kB / 327.6 MB, free: 2.055 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.465/1.465, allocations: 205.4 MB / 0.5786 GB, free: 20.08 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.0007861/0.0007862, allocations: 92.08 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003137, allocations: 8.344 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1781, allocations: 106.3 MB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05172/0.2299, allocations: 75.29 MB / 0.975 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.2527, allocations: 18.55 MB / 0.9931 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.2559, allocations: 87.38 kB / 0.9932 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.2589, allocations: 1.026 MB / 0.9942 GB, free: 60 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008864/0.2678, allocations: 3.351 MB / 0.9974 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005003/0.2728, allocations: 1.852 MB / 0.9993 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.283, allocations: 8.833 MB / 1.008 GB, free: 2 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.2859, allocations: 1.674 MB / 1.01 GB, free: 288 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/0.2903, allocations: 1.925 MB / 1.011 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.2934, allocations: 1.695 MB / 1.013 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.2939, allocations: 72 kB / 1.013 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.2979, allocations: 1.453 MB / 1.015 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006578/0.2986, allocations: 406.1 kB / 1.015 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.3006, allocations: 1.109 MB / 1.016 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003684/0.3043, allocations: 2.775 MB / 1.019 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3043, allocations: 0 / 1.019 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3043, allocations: 0 / 1.019 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.555e-05/0.3044, allocations: 0 / 1.019 GB, free: 6.816 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00393/0.3083, allocations: 2.283 MB / 1.021 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3084, allocations: 12.03 kB / 1.021 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.309, allocations: 262 kB / 1.021 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.3119, allocations: 1.947 MB / 1.023 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.312, allocations: 110.7 kB / 1.023 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.3122, allocations: 144 kB / 1.023 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.3147, allocations: 1.532 MB / 1.025 GB, free: 352 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.3148, allocations: 0 / 1.025 GB, free: 352 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.3149, allocations: 60 kB / 1.025 GB, free: 292 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.315, allocations: 36 kB / 1.025 GB, free: 256 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.3171, allocations: 1.169 MB / 1.026 GB, free: 15.07 MB / 0.6823 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.008051/0.3252, allocations: 7.567 MB / 1.033 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000961/0.3262, allocations: 0.4928 MB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/0.3268, allocations: 366.8 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007745/0.3276, allocations: 1.148 MB / 1.035 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.3277, allocations: 39.12 kB / 1.035 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.915e-06/0.3277, allocations: 0 / 1.035 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002264/0.3299, allocations: 1.028 MB / 1.036 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.33, allocations: 59.91 kB / 1.037 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.3322, allocations: 1.739 MB / 1.038 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.3323, allocations: 41.7 kB / 1.038 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/0.333, allocations: 0.9315 MB / 1.039 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.3332, allocations: 213 kB / 1.039 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.3333, allocations: 27.94 kB / 1.039 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3334, allocations: 349.9 kB / 1.04 GB, free: 156 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.3341, allocations: 350.5 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008976/0.335, allocations: 0.7133 MB / 1.041 GB, free: 14.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.3366, allocations: 1.059 MB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3366, allocations: 0 / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002245/0.3389, allocations: 1.257 MB / 1.043 GB, free: 12.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3389, allocations: 8 kB / 1.043 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.3389, allocations: 12 kB / 1.043 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.339, allocations: 16 kB / 1.043 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.34, allocations: 315.9 kB / 1.043 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.34, allocations: 23.92 kB / 1.043 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.3416, allocations: 250.4 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.3418, allocations: 51.98 kB / 1.044 GB, free: 11.81 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007737/0.3425, allocations: 438.1 kB / 1.044 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.3428, allocations: 189.7 kB / 1.044 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.3446, allocations: 0.9066 MB / 1.045 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.3447, allocations: 11.98 kB / 1.045 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3447, allocations: 0 / 1.045 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.346, allocations: 0.8386 MB / 1.046 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.3501, allocations: 2.466 MB / 1.048 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3502, allocations: 7.938 kB / 1.048 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008117/0.351, allocations: 200 kB / 1.049 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.351, allocations: 4 kB / 1.049 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.3511, allocations: 19.98 kB / 1.049 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.3511, allocations: 11.94 kB / 1.049 GB, free: 6.578 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3511, allocations: 4 kB / 1.049 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.3535, allocations: 1.398 MB / 1.05 GB, free: 5.133 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009025/0.3544, allocations: 394.4 kB / 1.05 GB, free: 4.727 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.3546, allocations: 15.98 kB / 1.05 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.3558, allocations: 129.5 kB / 1.051 GB, free: 4.586 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3559, allocations: 40.59 kB / 1.051 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.356, allocations: 35.97 kB / 1.051 GB, free: 4.508 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001626/0.3576, allocations: 1.204 MB / 1.052 GB, free: 3.285 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3576, allocations: 4 kB / 1.052 GB, free: 3.281 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001623/0.3592, allocations: 0.6433 MB / 1.052 GB, free: 2.637 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001123/0.3604, allocations: 0.5876 MB / 1.053 GB, free: 2.055 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.3621, allocations: 0.8624 MB / 1.054 GB, free: 1.195 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3621, allocations: 0 / 1.054 GB, free: 1.195 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.3628, allocations: 376.4 kB / 1.054 GB, free: 0.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3392/0.702, allocations: 1.208 MB / 1.055 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.7065, allocations: 3.829 MB / 1.059 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.7072, allocations: 1.389 MB / 1.06 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.7076, allocations: 154 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.7076, allocations: 0 / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of Templates: time 0.05743/0.7651, allocations: 34.22 MB / 1.094 GB, free: 128.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)