Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.695/1.695, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001414/0.001414, allocations: 68.2 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2277, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0729/0.3007, allocations: 77.16 MB / 0.859 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.3271, allocations: 18.73 MB / 0.8773 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004516/0.3317, allocations: 103.4 kB / 0.8774 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004437/0.3362, allocations: 1.242 MB / 0.8786 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.3483, allocations: 3.603 MB / 0.8821 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005797/0.3541, allocations: 2.118 MB / 0.8842 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009738/0.3638, allocations: 6.644 MB / 0.8906 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003585/0.3675, allocations: 2.086 MB / 0.8927 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006056/0.3736, allocations: 2.318 MB / 0.8949 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004054/0.3776, allocations: 1.775 MB / 0.8967 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005891/0.3782, allocations: 200 kB / 0.8969 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.3834, allocations: 1.622 MB / 0.8985 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007864/0.3842, allocations: 0.5332 MB / 0.899 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002303/0.3865, allocations: 1.248 MB / 0.9002 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007209/0.3938, allocations: 3.735 MB / 0.9038 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.3938, allocations: 0 / 0.9038 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3938, allocations: 0 / 0.9038 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.23e-05/0.3939, allocations: 0 / 0.9038 GB, free: 1.758 MB / 0.7169 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.4148/0.8087, allocations: 2.694 MB / 0.9065 GB, free: 122.4 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.8088, allocations: 9.438 kB / 0.9065 GB, free: 122.4 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000312/0.8091, allocations: 205.5 kB / 0.9067 GB, free: 122.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000981/0.8101, allocations: 274.6 kB / 0.9069 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.8138, allocations: 1.978 MB / 0.9089 GB, free: 121.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/0.8139, allocations: 110.2 kB / 0.909 GB, free: 121.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.8141, allocations: 141.7 kB / 0.9091 GB, free: 121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.8167, allocations: 1.522 MB / 0.9106 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.8168, allocations: 13.72 kB / 0.9106 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.8169, allocations: 57.59 kB / 0.9107 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.817, allocations: 40.02 kB / 0.9107 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.8193, allocations: 1.125 MB / 0.9118 GB, free: 119.9 MB / 0.7169 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.007898/0.8272, allocations: 7.586 MB / 0.9192 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.8281, allocations: 476.5 kB / 0.9197 GB, free: 114.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.8287, allocations: 339.8 kB / 0.92 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.8294, allocations: 1.147 MB / 0.9211 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.8294, allocations: 41.97 kB / 0.9211 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.565e-06/0.8294, allocations: 0 / 0.9211 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002286/0.8317, allocations: 0.9632 MB / 0.9221 GB, free: 112.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.8318, allocations: 64.16 kB / 0.9221 GB, free: 112.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.834, allocations: 1.765 MB / 0.9239 GB, free: 111.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.8341, allocations: 43.77 kB / 0.9239 GB, free: 111.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.8348, allocations: 0.9269 MB / 0.9248 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.835, allocations: 217.2 kB / 0.925 GB, free: 110.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.8353, allocations: 232 kB / 0.9252 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.8354, allocations: 345.6 kB / 0.9256 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.836, allocations: 327.5 kB / 0.9259 GB, free: 110 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.8369, allocations: 0.6902 MB / 0.9266 GB, free: 109.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.8383, allocations: 1.011 MB / 0.9275 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.8384, allocations: 2.906 kB / 0.9276 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002864/0.8412, allocations: 1.215 MB / 0.9287 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.8413, allocations: 13.38 kB / 0.9288 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.8413, allocations: 10.39 kB / 0.9288 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.373e-05/0.8414, allocations: 19.59 kB / 0.9288 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.8426, allocations: 295.5 kB / 0.9291 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.762e-05/0.8426, allocations: 20.72 kB / 0.9291 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.8441, allocations: 167.5 kB / 0.9292 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-05/0.8442, allocations: 50.14 kB / 0.9293 GB, free: 108.2 MB / 0.7169 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.0008209/0.845, allocations: 431.2 kB / 0.9297 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/0.8456, allocations: 192.9 kB / 0.9299 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.8476, allocations: 0.8662 MB / 0.9307 GB, free: 107.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.8476, allocations: 14.11 kB / 0.9307 GB, free: 107.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8476, allocations: 0 / 0.9307 GB, free: 107.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001434/0.8491, allocations: 0.7921 MB / 0.9315 GB, free: 107 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005606/0.8547, allocations: 2.442 MB / 0.9339 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8547, allocations: 6.391 kB / 0.9339 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/0.8555, allocations: 179.6 kB / 0.9341 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.8555, allocations: 4.578 kB / 0.9341 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.8556, allocations: 15.31 kB / 0.9341 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.8556, allocations: 7.25 kB / 0.9341 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.8556, allocations: 6.906 kB / 0.9341 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.8581, allocations: 1.336 MB / 0.9354 GB, free: 105.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000935/0.8591, allocations: 362.7 kB / 0.9358 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.8594, allocations: 17.91 kB / 0.9358 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009756/0.8604, allocations: 66.45 kB / 0.9358 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.8605, allocations: 51.8 kB / 0.9359 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.8606, allocations: 34.48 kB / 0.9359 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001845/0.8624, allocations: 1.232 MB / 0.9371 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8625, allocations: 0 / 0.9371 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002296/0.8648, allocations: 0.6578 MB / 0.9378 GB, free: 104.1 MB / 0.7169 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.003764/0.8685, allocations: 2.395 MB / 0.9401 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.8703, allocations: 0.8232 MB / 0.9409 GB, free: 102.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.8704, allocations: 1.25 kB / 0.9409 GB, free: 102.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.8711, allocations: 352.2 kB / 0.9413 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005784/0.8769, allocations: 1.206 MB / 0.9424 GB, free: 101.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.8943, allocations: 12.49 MB / 0.9546 GB, free: 94.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.895, allocations: 1.397 MB / 0.956 GB, free: 93.05 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001544/0.8966, allocations: 379.7 kB / 0.9563 GB, free: 92.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/0.8974, allocations: 0.7554 MB / 0.9571 GB, free: 92.27 MB / 0.7169 GB Notification: Performance of SimCode: time 7.81e-07/0.8974, allocations: 0 / 0.9571 GB, free: 92.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08208/0.9795, allocations: 57.24 MB / 1.013 GB, free: 35.78 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.52, allocations: 15.92 kB / 1.013 GB, free: 35.76 MB / 0.7169 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)