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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.641/1.641, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009175/0.0009174, allocations: 172.3 kB / 327 MB, free: 2.109 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.494/1.494, allocations: 205.4 MB / 0.578 GB, free: 20.19 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.0007425/0.0007426, allocations: 89.8 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003048, allocations: 11.84 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05309/0.2349, allocations: 75.29 MB / 0.9744 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.2593, allocations: 18.55 MB / 0.9925 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.2621, allocations: 91.38 kB / 0.9926 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.2647, allocations: 1.022 MB / 0.9936 GB, free: 168 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0085/0.2732, allocations: 3.358 MB / 0.9969 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005243/0.2785, allocations: 1.849 MB / 0.9987 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.2891, allocations: 8.839 MB / 1.007 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.2915, allocations: 1.671 MB / 1.009 GB, free: 392 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003329/0.2949, allocations: 1.925 MB / 1.011 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.297, allocations: 1.699 MB / 1.013 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.2972, allocations: 72 kB / 1.013 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.3008, allocations: 1.449 MB / 1.014 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.3012, allocations: 406 kB / 1.014 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.3025, allocations: 1.113 MB / 1.015 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.307, allocations: 3.531 MB / 1.019 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.307, allocations: 0 / 1.019 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.744e-06/0.307, allocations: 0 / 1.019 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.307, allocations: 0 / 1.019 GB, free: 6.156 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.003535/0.3106, allocations: 2.299 MB / 1.021 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3106, allocations: 8.031 kB / 1.021 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002262/0.3108, allocations: 202.8 kB / 1.021 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005242/0.3114, allocations: 262 kB / 1.022 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.3142, allocations: 1.944 MB / 1.024 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.3142, allocations: 110.7 kB / 1.024 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.3144, allocations: 144 kB / 1.024 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.3169, allocations: 1.52 MB / 1.025 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.3169, allocations: 7.938 kB / 1.025 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.3171, allocations: 56 kB / 1.025 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.3171, allocations: 43.98 kB / 1.025 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.3193, allocations: 1.165 MB / 1.026 GB, free: 14.2 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.007581/0.3269, allocations: 7.567 MB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009621/0.3278, allocations: 496.5 kB / 1.034 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.3285, allocations: 362.8 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/0.3294, allocations: 1.152 MB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.3294, allocations: 43.12 kB / 1.036 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.965e-06/0.3295, allocations: 0 / 1.036 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002147/0.3316, allocations: 1.028 MB / 1.037 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.3317, allocations: 55.97 kB / 1.037 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.3338, allocations: 1.743 MB / 1.039 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.3338, allocations: 37.7 kB / 1.039 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007203/0.3346, allocations: 0.9277 MB / 1.04 GB, free: 15.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.3348, allocations: 213 kB / 1.04 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.3348, allocations: 20 kB / 1.04 GB, free: 15.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.335, allocations: 353.9 kB / 1.04 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/0.3357, allocations: 350.4 kB / 1.04 GB, free: 14.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/0.3366, allocations: 0.7172 MB / 1.041 GB, free: 14.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.3383, allocations: 1.055 MB / 1.042 GB, free: 12.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3383, allocations: 0 / 1.042 GB, free: 12.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002201/0.3405, allocations: 1.269 MB / 1.043 GB, free: 11.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.3405, allocations: 8 kB / 1.043 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.3406, allocations: 15.94 kB / 1.043 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.3406, allocations: 16 kB / 1.043 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.3416, allocations: 319.8 kB / 1.044 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.3417, allocations: 19.94 kB / 1.044 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.3431, allocations: 242.5 kB / 1.044 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.3432, allocations: 55.98 kB / 1.044 GB, free: 10.94 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.0006991/0.3439, allocations: 441.4 kB / 1.044 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.3441, allocations: 189.7 kB / 1.045 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.3458, allocations: 0.9064 MB / 1.046 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3458, allocations: 8 kB / 1.046 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3459, allocations: 0 / 1.046 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/0.3472, allocations: 0.8386 MB / 1.046 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.351, allocations: 2.47 MB / 1.049 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.351, allocations: 4 kB / 1.049 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.3518, allocations: 204 kB / 1.049 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.3518, allocations: 8 kB / 1.049 GB, free: 5.727 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.3518, allocations: 12 kB / 1.049 GB, free: 5.715 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3519, allocations: 8 kB / 1.049 GB, free: 5.707 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3519, allocations: 7.938 kB / 1.049 GB, free: 5.699 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.3542, allocations: 1.398 MB / 1.05 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.3547, allocations: 398.4 kB / 1.051 GB, free: 3.848 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.3549, allocations: 19.94 kB / 1.051 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.356, allocations: 124.7 kB / 1.051 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3562, allocations: 48.48 kB / 1.051 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.3562, allocations: 31.98 kB / 1.051 GB, free: 3.625 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001589/0.3578, allocations: 1.211 MB / 1.052 GB, free: 2.395 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3578, allocations: 4 kB / 1.052 GB, free: 2.391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001456/0.3593, allocations: 0.6356 MB / 1.053 GB, free: 1.754 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.4006/0.7599, allocations: 2.424 MB / 1.055 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.7616, allocations: 0.8523 MB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7616, allocations: 0 / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/0.7623, allocations: 385 kB / 1.056 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006057/0.7684, allocations: 1.204 MB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/0.7953, allocations: 14.82 MB / 1.072 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.7964, allocations: 1.403 MB / 1.073 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001702/0.7981, allocations: 375.5 kB / 1.074 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008432/0.7989, allocations: 0.761 MB / 1.074 GB, free: 139.1 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.799, allocations: 0 / 1.074 GB, free: 139.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/0.8716, allocations: 55.35 MB / 1.129 GB, free: 95.07 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/0.8718, allocations: 271.2 kB / 1.129 GB, free: 94.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.965/4.836, allocations: 4 kB / 1.129 GB, free: 94.71 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)