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.342/1.342, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008851/0.0008852, allocations: 173.9 kB / 325.8 MB, free: 2.676 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.374/1.374, allocations: 205 MB / 0.576 GB, free: 20.94 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.0007135/0.0007135, allocations: 85.25 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 8.875 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.04445/0.1904, allocations: 76.34 MB / 0.9707 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02061/0.211, allocations: 18.74 MB / 0.989 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.2132, allocations: 99.38 kB / 0.9891 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.2156, allocations: 1.026 MB / 0.9901 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006742/0.2223, allocations: 3.345 MB / 0.9934 GB, free: 176 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.2261, allocations: 1.856 MB / 0.9952 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00817/0.2343, allocations: 8.844 MB / 1.004 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.2362, allocations: 1.659 MB / 1.005 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.239, allocations: 1.932 MB / 1.007 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.2407, allocations: 1.699 MB / 1.009 GB, free: 108 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.2409, allocations: 76 kB / 1.009 GB, free: 32 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.2438, allocations: 1.434 MB / 1.01 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.2442, allocations: 410.1 kB / 1.011 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009942/0.2452, allocations: 1.088 MB / 1.012 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.2487, allocations: 3.535 MB / 1.015 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2488, allocations: 4 kB / 1.015 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2488, allocations: 0 / 1.015 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.537e-05/0.2488, allocations: 0 / 1.015 GB, free: 9.547 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.003153/0.252, allocations: 2.293 MB / 1.018 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.252, allocations: 12.03 kB / 1.018 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002017/0.2522, allocations: 198.8 kB / 1.018 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/0.2528, allocations: 262 kB / 1.018 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.2553, allocations: 1.944 MB / 1.02 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.2553, allocations: 106.7 kB / 1.02 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.2555, allocations: 140 kB / 1.02 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.2577, allocations: 1.524 MB / 1.022 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.2578, allocations: 4 kB / 1.022 GB, free: 2.879 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.258, allocations: 63.98 kB / 1.022 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/0.258, allocations: 43.92 kB / 1.022 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.2603, allocations: 1.165 MB / 1.023 GB, free: 1.602 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.006524/0.2668, allocations: 7.567 MB / 1.03 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.2677, allocations: 492.6 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.2683, allocations: 362.8 kB / 1.031 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000726/0.269, allocations: 1.156 MB / 1.032 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2691, allocations: 39.12 kB / 1.032 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.234e-06/0.2691, allocations: 0 / 1.032 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.001961/0.271, allocations: 1.028 MB / 1.033 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2711, allocations: 59.97 kB / 1.033 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.273, allocations: 1.739 MB / 1.035 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.273, allocations: 45.7 kB / 1.035 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006346/0.2737, allocations: 0.9159 MB / 1.036 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.2738, allocations: 229 kB / 1.036 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2739, allocations: 93.66 kB / 1.036 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2741, allocations: 349.9 kB / 1.037 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/0.2747, allocations: 354.4 kB / 1.037 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.2756, allocations: 0.7133 MB / 1.038 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.2771, allocations: 1.055 MB / 1.039 GB, free: 208 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.2772, allocations: 4 kB / 1.039 GB, free: 204 kB / 0.6823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002105/0.2793, allocations: 1.261 MB / 1.04 GB, free: 14.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2793, allocations: 12 kB / 1.04 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2793, allocations: 8 kB / 1.04 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2794, allocations: 16 kB / 1.04 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/0.2803, allocations: 315.6 kB / 1.04 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.2803, allocations: 19.94 kB / 1.04 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.2816, allocations: 242.5 kB / 1.041 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.2817, allocations: 55.97 kB / 1.041 GB, free: 14.28 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.0005574/0.2823, allocations: 449.1 kB / 1.041 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.2826, allocations: 197.7 kB / 1.041 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2842, allocations: 0.9038 MB / 1.042 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2842, allocations: 4 kB / 1.042 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2842, allocations: 0 / 1.042 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/0.2855, allocations: 0.8425 MB / 1.043 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.289, allocations: 2.466 MB / 1.045 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.289, allocations: 4 kB / 1.045 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/0.2898, allocations: 211.8 kB / 1.046 GB, free: 9.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.2898, allocations: 4 kB / 1.046 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.2899, allocations: 23.98 kB / 1.046 GB, free: 9.031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2899, allocations: 4 kB / 1.046 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2899, allocations: 0 / 1.046 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.2924, allocations: 1.402 MB / 1.047 GB, free: 7.582 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/0.2929, allocations: 350.6 kB / 1.047 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.2931, allocations: 20 kB / 1.047 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.2942, allocations: 129 kB / 1.047 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2943, allocations: 48.44 kB / 1.047 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.2944, allocations: 35.97 kB / 1.048 GB, free: 6.992 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001499/0.2959, allocations: 1.208 MB / 1.049 GB, free: 5.766 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2959, allocations: 0 / 1.049 GB, free: 5.766 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00142/0.2973, allocations: 0.6356 MB / 1.049 GB, free: 5.129 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.003287/0.3006, allocations: 2.425 MB / 1.052 GB, free: 2.664 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.3021, allocations: 0.8593 MB / 1.053 GB, free: 1.805 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3021, allocations: 4 kB / 1.053 GB, free: 1.801 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.3028, allocations: 375.6 kB / 1.053 GB, free: 1.434 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005149/0.308, allocations: 1.218 MB / 1.054 GB, free: 244 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3041/0.6121, allocations: 14.72 MB / 1.068 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009611/0.6131, allocations: 1.399 MB / 1.07 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001594/0.6147, allocations: 371.1 kB / 1.07 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008146/0.6155, allocations: 0.7585 MB / 1.071 GB, free: 143.2 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.6155, allocations: 0 / 1.071 GB, free: 143.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8068/1.422, allocations: 55.36 MB / 1.125 GB, free: 100.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/1.423, allocations: 266.6 kB / 1.125 GB, free: 100.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.027/5.45, allocations: 1.422 kB / 1.125 GB, free: 100.5 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)