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.001463/0.001463, allocations: 108 kB / 15.61 MB, free: 152 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.001639/0.001639, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.663/1.663, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.724/1.724, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002087/0.002087, allocations: 65.89 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2642, allocations: 114.6 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09357/0.3578, allocations: 77.15 MB / 0.8588 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03376/0.3916, allocations: 18.73 MB / 0.8771 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004841/0.3965, allocations: 107.4 kB / 0.8772 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004148/0.4007, allocations: 1.242 MB / 0.8784 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.4119, allocations: 3.605 MB / 0.8819 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.4181, allocations: 2.095 MB / 0.884 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.4286, allocations: 6.641 MB / 0.8905 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004913/0.4336, allocations: 2.086 MB / 0.8925 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007017/0.4406, allocations: 2.308 MB / 0.8948 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.4444, allocations: 1.742 MB / 0.8965 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009479/0.4453, allocations: 203.9 kB / 0.8966 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005258/0.4506, allocations: 1.618 MB / 0.8982 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.4517, allocations: 0.5294 MB / 0.8987 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003085/0.4548, allocations: 1.26 MB / 0.9 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007857/0.4627, allocations: 3.708 MB / 0.9036 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4627, allocations: 0 / 0.9036 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4627, allocations: 4 kB / 0.9036 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001297/0.4629, allocations: 0 / 0.9036 GB, free: 1.973 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.4903/0.9532, allocations: 2.696 MB / 0.9062 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.9533, allocations: 10.44 kB / 0.9062 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/0.9536, allocations: 201.8 kB / 0.9064 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009504/0.9545, allocations: 269.9 kB / 0.9067 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.9579, allocations: 1.876 MB / 0.9085 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.532e-05/0.958, allocations: 109.5 kB / 0.9086 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.9582, allocations: 145.4 kB / 0.9088 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.9609, allocations: 1.514 MB / 0.9102 GB, free: 119.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.9609, allocations: 11.56 kB / 0.9103 GB, free: 119.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.961, allocations: 63.56 kB / 0.9103 GB, free: 119.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.9611, allocations: 36.22 kB / 0.9104 GB, free: 119.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.9633, allocations: 1.128 MB / 0.9115 GB, free: 119.5 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.007418/0.9707, allocations: 7.639 MB / 0.9189 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.9716, allocations: 480.5 kB / 0.9194 GB, free: 113.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.9723, allocations: 334.9 kB / 0.9197 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006574/0.9729, allocations: 1.152 MB / 0.9208 GB, free: 112.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.973, allocations: 41.03 kB / 0.9209 GB, free: 112.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 3.386e-06/0.973, allocations: 1.641 kB / 0.9209 GB, free: 112.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002275/0.9753, allocations: 0.9665 MB / 0.9218 GB, free: 111.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.9753, allocations: 64.5 kB / 0.9219 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.9775, allocations: 1.771 MB / 0.9236 GB, free: 111 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.9776, allocations: 43.02 kB / 0.9236 GB, free: 111 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/0.9783, allocations: 0.9231 MB / 0.9245 GB, free: 110.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.9785, allocations: 217.6 kB / 0.9247 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.9788, allocations: 230.6 kB / 0.925 GB, free: 110 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.9789, allocations: 348.2 kB / 0.9253 GB, free: 109.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.9795, allocations: 328.9 kB / 0.9256 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/0.9804, allocations: 0.6921 MB / 0.9263 GB, free: 109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.9818, allocations: 1.011 MB / 0.9273 GB, free: 108.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.9819, allocations: 4.812 kB / 0.9273 GB, free: 108.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002451/0.9843, allocations: 1.213 MB / 0.9285 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.9843, allocations: 10.77 kB / 0.9285 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.9844, allocations: 11.38 kB / 0.9285 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-05/0.9844, allocations: 15.98 kB / 0.9285 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.9855, allocations: 295.6 kB / 0.9288 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/0.9855, allocations: 21.72 kB / 0.9288 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9869, allocations: 174.2 kB / 0.929 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/0.987, allocations: 50.75 kB / 0.929 GB, free: 107.7 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.0007475/0.9878, allocations: 438 kB / 0.9294 GB, free: 107.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.9881, allocations: 190.2 kB / 0.9296 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.9899, allocations: 0.8699 MB / 0.9305 GB, free: 107 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.99, allocations: 12.64 kB / 0.9305 GB, free: 107 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.99, allocations: 0 / 0.9305 GB, free: 107 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001401/0.9914, allocations: 0.7983 MB / 0.9313 GB, free: 106.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.9959, allocations: 2.437 MB / 0.9336 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.9959, allocations: 2.406 kB / 0.9336 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.9967, allocations: 182 kB / 0.9338 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.9967, allocations: 5.312 kB / 0.9338 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.9968, allocations: 23.23 kB / 0.9338 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.9968, allocations: 4.719 kB / 0.9338 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9968, allocations: 6.406 kB / 0.9338 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.9992, allocations: 1.332 MB / 0.9351 GB, free: 104.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.9999, allocations: 361.1 kB / 0.9355 GB, free: 104.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/1, allocations: 18.28 kB / 0.9355 GB, free: 104.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/1.001, allocations: 66.86 kB / 0.9356 GB, free: 104.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.001, allocations: 54.3 kB / 0.9356 GB, free: 104.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/1.001, allocations: 40.89 kB / 0.9357 GB, free: 104.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001665/1.003, allocations: 1.224 MB / 0.9369 GB, free: 103.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/1.003, allocations: 1 kB / 0.9369 GB, free: 103.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002201/1.005, allocations: 0.6524 MB / 0.9375 GB, free: 103.8 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.003392/1.009, allocations: 2.398 MB / 0.9398 GB, free: 102.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.011, allocations: 0.8939 MB / 0.9407 GB, free: 102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.011, allocations: 1.156 kB / 0.9407 GB, free: 102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000673/1.011, allocations: 358.9 kB / 0.9411 GB, free: 101.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00512/1.016, allocations: 1.206 MB / 0.9422 GB, free: 101.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.033, allocations: 14.12 MB / 0.956 GB, free: 91.46 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/1.033, allocations: 1.401 MB / 0.9574 GB, free: 90.43 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001555/1.035, allocations: 373.1 kB / 0.9577 GB, free: 90.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/1.035, allocations: 0.7624 MB / 0.9585 GB, free: 89.63 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/1.035, allocations: 4 kB / 0.9585 GB, free: 89.62 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.113/3.148, allocations: 57.41 MB / 1.015 GB, free: 32.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.109/12.26, allocations: 7.031 kB / 1.015 GB, free: 32.91 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)