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.553/1.553, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0009605/0.0009605, allocations: 179.9 kB / 372.2 MB, free: 10.12 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.399/1.399, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0007434/0.0007436, allocations: 106.4 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 15.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2117, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03155/0.2433, allocations: 38.32 MB / 1.018 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.2591, allocations: 9.667 MB / 1.027 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.2613, allocations: 47.69 kB / 1.027 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.2629, allocations: 457 kB / 1.028 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.2678, allocations: 1.58 MB / 1.029 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.2705, allocations: 0.8864 MB / 1.03 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004816/0.2753, allocations: 3.876 MB / 1.034 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.2767, allocations: 0.8576 MB / 1.035 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.2789, allocations: 1.011 MB / 1.036 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.2801, allocations: 0.8049 MB / 1.036 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.2802, allocations: 36 kB / 1.036 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.2824, allocations: 0.7208 MB / 1.037 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.2827, allocations: 203 kB / 1.037 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.2834, allocations: 0.5538 MB / 1.038 GB, free: 68 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.2852, allocations: 1.426 MB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.2853, allocations: 0 / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2853, allocations: 0 / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.2853, allocations: 0 / 1.039 GB, free: 14.64 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.002278/0.2876, allocations: 1.295 MB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.2876, allocations: 8.031 kB / 1.04 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.2878, allocations: 122.7 kB / 1.041 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.2881, allocations: 135.4 kB / 1.041 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.2899, allocations: 1.064 MB / 1.042 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.2899, allocations: 54 kB / 1.042 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.29, allocations: 72 kB / 1.042 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2915, allocations: 0.8061 MB / 1.043 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.2915, allocations: 0 / 1.043 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.2916, allocations: 32 kB / 1.043 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.2917, allocations: 23.92 kB / 1.043 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2928, allocations: 0.5789 MB / 1.043 GB, free: 10.32 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.004618/0.2974, allocations: 3.555 MB / 1.047 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.2981, allocations: 267.2 kB / 1.047 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.2985, allocations: 184.8 kB / 1.047 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.2992, allocations: 0.6609 MB / 1.048 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.2993, allocations: 38.56 kB / 1.048 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 3.778e-06/0.2993, allocations: 0 / 1.048 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001331/0.3006, allocations: 0.5398 MB / 1.048 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3007, allocations: 55.41 kB / 1.048 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.302, allocations: 0.9175 MB / 1.049 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.3021, allocations: 33.7 kB / 1.049 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.3025, allocations: 491.6 kB / 1.05 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.3027, allocations: 118.4 kB / 1.05 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.3027, allocations: 12 kB / 1.05 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3028, allocations: 333.9 kB / 1.05 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.3032, allocations: 173 kB / 1.05 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.3037, allocations: 362.8 kB / 1.051 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008884/0.3046, allocations: 0.542 MB / 1.051 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3047, allocations: 0 / 1.051 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001169/0.3058, allocations: 0.6253 MB / 1.052 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3059, allocations: 8 kB / 1.052 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.3059, allocations: 4 kB / 1.052 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3059, allocations: 15.92 kB / 1.052 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.3064, allocations: 127.8 kB / 1.052 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.3064, allocations: 11.98 kB / 1.052 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/0.3072, allocations: 119.3 kB / 1.052 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.3072, allocations: 27.98 kB / 1.052 GB, free: 0.5312 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.000418/0.3077, allocations: 271 kB / 1.052 GB, free: 264 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3078, allocations: 102.7 kB / 1.053 GB, free: 160 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/0.3088, allocations: 0.4927 MB / 1.053 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.3088, allocations: 15.94 kB / 1.053 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3088, allocations: 0 / 1.053 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000732/0.3096, allocations: 476.8 kB / 1.054 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.3116, allocations: 1.371 MB / 1.055 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3117, allocations: 7.922 kB / 1.055 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.312, allocations: 84.05 kB / 1.055 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.312, allocations: 0 / 1.055 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.3121, allocations: 8 kB / 1.055 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3121, allocations: 4 kB / 1.055 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3121, allocations: 4 kB / 1.055 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3134, allocations: 0.7928 MB / 1.056 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.3137, allocations: 247.6 kB / 1.056 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.3138, allocations: 12.06 kB / 1.056 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.3144, allocations: 55.94 kB / 1.056 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.3145, allocations: 27.91 kB / 1.056 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.3145, allocations: 19.98 kB / 1.056 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007946/0.3153, allocations: 0.6313 MB / 1.057 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3153, allocations: 0 / 1.057 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00101/0.3164, allocations: 331.4 kB / 1.057 GB, free: 11.43 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.002228/0.3186, allocations: 1.611 MB / 1.059 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009554/0.3196, allocations: 444.6 kB / 1.059 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3196, allocations: 3.938 kB / 1.059 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.32, allocations: 197.1 kB / 1.059 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.3229, allocations: 0.5878 MB / 1.06 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009164/0.3321, allocations: 5.447 MB / 1.065 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.3329, allocations: 1.036 MB / 1.066 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001145/0.334, allocations: 199.6 kB / 1.066 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/0.3346, allocations: 373.8 kB / 1.067 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of SimCode: time 2.595e-06/0.3346, allocations: 0 / 1.067 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.27/1.605, allocations: 29.49 MB / 1.095 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/1.605, allocations: 249.8 kB / 1.096 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/4.675, allocations: 4 kB / 1.096 GB, free: 79.51 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)