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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 288.4 MB / 303.3 MB, free: 8.141 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.001095/0.001095, allocations: 180.5 kB / 372 MB, free: 10.26 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.458/1.458, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007285/0.0007285, allocations: 86.36 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 13.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1778, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02958/0.2075, allocations: 38.3 MB / 1.017 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.222, allocations: 9.658 MB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.2241, allocations: 51.62 kB / 1.027 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.2258, allocations: 457 kB / 1.027 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.2308, allocations: 1.472 MB / 1.028 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.2349, allocations: 0.8694 MB / 1.029 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008414/0.2433, allocations: 3.842 MB / 1.033 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.2456, allocations: 0.7452 MB / 1.034 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.2486, allocations: 0.9995 MB / 1.035 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.2506, allocations: 0.8049 MB / 1.035 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003485/0.2509, allocations: 36 kB / 1.036 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2531, allocations: 494.9 kB / 1.036 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.2535, allocations: 199.1 kB / 1.036 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006015/0.2541, allocations: 265.1 kB / 1.036 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.2562, allocations: 1.356 MB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2562, allocations: 0 / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2562, allocations: 0 / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.456e-05/0.2562, allocations: 0 / 1.038 GB, free: 15.88 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.002692/0.2589, allocations: 1.312 MB / 1.039 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.259, allocations: 8.031 kB / 1.039 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.2592, allocations: 122.4 kB / 1.039 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.2596, allocations: 134.5 kB / 1.039 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.2616, allocations: 1.025 MB / 1.04 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.2617, allocations: 54 kB / 1.04 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.2618, allocations: 75.91 kB / 1.04 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.2633, allocations: 0.8022 MB / 1.041 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.2634, allocations: 4 kB / 1.041 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.2634, allocations: 35.94 kB / 1.041 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.2635, allocations: 16 kB / 1.041 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.2647, allocations: 0.5906 MB / 1.042 GB, free: 11.56 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.004904/0.2696, allocations: 3.536 MB / 1.045 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.2702, allocations: 275 kB / 1.046 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.2706, allocations: 186 kB / 1.046 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005341/0.2712, allocations: 0.6609 MB / 1.046 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2712, allocations: 50.42 kB / 1.046 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.2712, allocations: 0 / 1.046 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001258/0.2725, allocations: 0.5398 MB / 1.047 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.2725, allocations: 55.41 kB / 1.047 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2737, allocations: 0.9175 MB / 1.048 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.2737, allocations: 29.7 kB / 1.048 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.2741, allocations: 495.6 kB / 1.048 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2743, allocations: 118.4 kB / 1.049 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.2743, allocations: 12 kB / 1.049 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2744, allocations: 322 kB / 1.049 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.2748, allocations: 177 kB / 1.049 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.2754, allocations: 366.8 kB / 1.049 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.2758, allocations: 231.8 kB / 1.05 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2758, allocations: 0 / 1.05 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001164/0.277, allocations: 0.625 MB / 1.05 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.277, allocations: 8 kB / 1.05 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.277, allocations: 4 kB / 1.05 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2771, allocations: 12 kB / 1.05 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.2775, allocations: 132.2 kB / 1.05 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.2776, allocations: 11.94 kB / 1.05 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.2784, allocations: 115.2 kB / 1.05 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.2784, allocations: 31.95 kB / 1.05 GB, free: 2.168 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.0004059/0.2789, allocations: 276.4 kB / 1.051 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.279, allocations: 98.78 kB / 1.051 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.28, allocations: 0.496 MB / 1.051 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.28, allocations: 15.92 kB / 1.051 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2801, allocations: 0 / 1.051 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007747/0.2808, allocations: 476.8 kB / 1.052 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.2831, allocations: 1.373 MB / 1.053 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.2831, allocations: 4 kB / 1.053 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.2835, allocations: 75.95 kB / 1.053 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.2835, allocations: 4 kB / 1.053 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.2835, allocations: 19.88 kB / 1.053 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.2836, allocations: 4.062 kB / 1.053 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2836, allocations: 4 kB / 1.053 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.2849, allocations: 0.7815 MB / 1.054 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.2853, allocations: 247.7 kB / 1.054 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.774e-05/0.2854, allocations: 8 kB / 1.054 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.286, allocations: 67.81 kB / 1.054 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.2861, allocations: 23.95 kB / 1.054 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.2861, allocations: 19.98 kB / 1.054 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008807/0.287, allocations: 0.6352 MB / 1.055 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.287, allocations: 0 / 1.055 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009014/0.288, allocations: 331.4 kB / 1.055 GB, free: 13.06 MB / 0.6823 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.00211/0.2901, allocations: 1.59 MB / 1.057 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009432/0.291, allocations: 437.2 kB / 1.057 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.291, allocations: 3.938 kB / 1.057 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.2914, allocations: 201.3 kB / 1.057 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/0.2943, allocations: 0.6013 MB / 1.058 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009592/0.3039, allocations: 5.449 MB / 1.063 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.3046, allocations: 1.028 MB / 1.064 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000882/0.3055, allocations: 195.9 kB / 1.065 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/0.3059, allocations: 371.3 kB / 1.065 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.3059, allocations: 0 / 1.065 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4254/0.7313, allocations: 28.94 MB / 1.093 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.7315, allocations: 244.9 kB / 1.093 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.369, allocations: 0 / 1.093 GB, free: 80.64 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)