Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.00132, allocations: 191.4 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 70.47 kB / 0.6708 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2259, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04051/0.2665, allocations: 41.34 MB / 0.823 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.2808, allocations: 10.37 MB / 0.8332 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.2829, allocations: 51.62 kB / 0.8332 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.2846, allocations: 0.5284 MB / 0.8337 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004724/0.2893, allocations: 1.734 MB / 0.8354 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.2922, allocations: 1.082 MB / 0.8365 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004983/0.2972, allocations: 4.506 MB / 0.8409 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.2985, allocations: 0.8909 MB / 0.8418 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.3004, allocations: 1.042 MB / 0.8428 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.3015, allocations: 0.8905 MB / 0.8436 GB, free: 15.37 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3016, allocations: 48 kB / 0.8437 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.3035, allocations: 0.7794 MB / 0.8444 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.3038, allocations: 230.9 kB / 0.8447 GB, free: 14.31 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005902/0.3044, allocations: 0.5791 MB / 0.8452 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.3065, allocations: 1.87 MB / 0.8471 GB, free: 11.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3065, allocations: 0 / 0.8471 GB, free: 11.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3065, allocations: 0 / 0.8471 GB, free: 11.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.3065, allocations: 0 / 0.8471 GB, free: 11.86 MB / 0.67 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.002382/0.3089, allocations: 1.507 MB / 0.8485 GB, free: 10.29 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3089, allocations: 12.03 kB / 0.8485 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.3093, allocations: 131.4 kB / 0.8487 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.3109, allocations: 1.068 MB / 0.8497 GB, free: 9.043 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.3109, allocations: 50 kB / 0.8498 GB, free: 8.992 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.311, allocations: 72 kB / 0.8498 GB, free: 8.922 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.3124, allocations: 0.7943 MB / 0.8506 GB, free: 8.094 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3124, allocations: 0 / 0.8506 GB, free: 8.094 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.3125, allocations: 36 kB / 0.8506 GB, free: 8.059 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.3125, allocations: 23.98 kB / 0.8507 GB, free: 8.035 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3136, allocations: 0.571 MB / 0.8512 GB, free: 7.461 MB / 0.67 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.003851/0.3175, allocations: 3.54 MB / 0.8547 GB, free: 3.691 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.3181, allocations: 258.4 kB / 0.8549 GB, free: 3.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.3184, allocations: 180.7 kB / 0.8551 GB, free: 3.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.319, allocations: 0.6609 MB / 0.8557 GB, free: 2.441 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.319, allocations: 34.56 kB / 0.8558 GB, free: 2.398 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.319, allocations: 0 / 0.8558 GB, free: 2.398 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001276/0.3203, allocations: 0.5137 MB / 0.8563 GB, free: 1.879 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3204, allocations: 55.39 kB / 0.8563 GB, free: 1.812 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3215, allocations: 0.9254 MB / 0.8572 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.3216, allocations: 33.7 kB / 0.8573 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.322, allocations: 491.6 kB / 0.8577 GB, free: 348 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3221, allocations: 122.4 kB / 0.8578 GB, free: 224 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.3223, allocations: 122 kB / 0.858 GB, free: 92 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3224, allocations: 325.9 kB / 0.8583 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.3228, allocations: 165 kB / 0.8584 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.3233, allocations: 354.9 kB / 0.8588 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.3241, allocations: 0.5147 MB / 0.8593 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3241, allocations: 64 / 0.8593 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00114/0.3253, allocations: 0.6131 MB / 0.8599 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3253, allocations: 15.11 kB / 0.8599 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3253, allocations: 8 kB / 0.8599 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.3253, allocations: 8.656 kB / 0.8599 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.3258, allocations: 131.8 kB / 0.86 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.3258, allocations: 11.94 kB / 0.86 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.3266, allocations: 107.2 kB / 0.8601 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.3266, allocations: 24 kB / 0.8602 GB, free: 13.68 MB / 0.6856 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.000393/0.327, allocations: 278.6 kB / 0.8604 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.3272, allocations: 98.78 kB / 0.8605 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009282/0.3281, allocations: 495.8 kB / 0.861 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.3282, allocations: 4 kB / 0.861 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3282, allocations: 4 kB / 0.861 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006932/0.3289, allocations: 460.8 kB / 0.8614 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.3308, allocations: 1.342 MB / 0.8628 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3308, allocations: 3.938 kB / 0.8628 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.3312, allocations: 71.95 kB / 0.8628 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3312, allocations: 11.88 kB / 0.8628 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.3312, allocations: 11.98 kB / 0.8629 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3312, allocations: 4 kB / 0.8629 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3312, allocations: 0 / 0.8629 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3325, allocations: 0.7655 MB / 0.8636 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.3327, allocations: 231.7 kB / 0.8638 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.3329, allocations: 8 kB / 0.8638 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.3334, allocations: 51.91 kB / 0.8639 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.3335, allocations: 23.97 kB / 0.8639 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.3336, allocations: 19.98 kB / 0.8639 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007911/0.3344, allocations: 0.6469 MB / 0.8646 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3344, allocations: 0 / 0.8646 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009685/0.3354, allocations: 331.4 kB / 0.8649 GB, free: 8.688 MB / 0.6856 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 (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.0007278/0.3361, allocations: 368.4 kB / 0.8652 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008579/0.337, allocations: 424.4 kB / 0.8656 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.337, allocations: 3.938 kB / 0.8656 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.3374, allocations: 192.1 kB / 0.8658 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.3401, allocations: 0.6044 MB / 0.8664 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.3427, allocations: 1.926 MB / 0.8683 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.3433, allocations: 1.036 MB / 0.8693 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008282/0.3441, allocations: 200.1 kB / 0.8695 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3443, allocations: 79.42 kB / 0.8696 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/0.3443, allocations: 0 / 0.8696 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of Templates: time 0.03138/0.3757, allocations: 20.22 MB / 0.8893 GB, free: 15.86 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)