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.658/1.658, allocations: 252 MB / 267 MB, free: 10.97 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.0009464/0.0009465, allocations: 185.1 kB / 326.6 MB, free: 2.227 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.578/1.578, allocations: 205.4 MB / 0.5777 GB, free: 20.61 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.0007675/0.0007675, allocations: 93.95 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003025, allocations: 9.375 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.04975/0.2125, allocations: 71.14 MB / 0.9698 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02216/0.2347, allocations: 17.5 MB / 0.9869 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.2374, allocations: 91.38 kB / 0.9869 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.24, allocations: 0.8811 MB / 0.9878 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007939/0.2479, allocations: 2.82 MB / 0.9906 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.2522, allocations: 1.446 MB / 0.992 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008606/0.2609, allocations: 7.538 MB / 0.9993 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.2631, allocations: 1.445 MB / 1.001 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.2663, allocations: 1.855 MB / 1.003 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.2684, allocations: 1.587 MB / 1.004 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.2686, allocations: 79.98 kB / 1.004 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.2711, allocations: 0.8962 MB / 1.005 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003739/0.2715, allocations: 386.2 kB / 1.005 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005781/0.2721, allocations: 492.5 kB / 1.006 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.2748, allocations: 2.646 MB / 1.008 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2748, allocations: 0 / 1.008 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2748, allocations: 0 / 1.008 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.2748, allocations: 4 kB / 1.008 GB, free: 1.109 MB / 0.6511 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.003554/0.2784, allocations: 2.31 MB / 1.011 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2785, allocations: 15.97 kB / 1.011 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.2787, allocations: 198.6 kB / 1.011 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.2792, allocations: 265.1 kB / 1.011 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.282, allocations: 1.864 MB / 1.013 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.2821, allocations: 110.7 kB / 1.013 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.2823, allocations: 148 kB / 1.013 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.2848, allocations: 1.505 MB / 1.015 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.2849, allocations: 4 kB / 1.015 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.285, allocations: 63.94 kB / 1.015 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.285, allocations: 44 kB / 1.015 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.2872, allocations: 1.158 MB / 1.016 GB, free: 9.23 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.007407/0.2946, allocations: 7.555 MB / 1.023 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.2956, allocations: 496.6 kB / 1.024 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/0.2963, allocations: 362.9 kB / 1.024 GB, free: 252 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/0.2971, allocations: 1.156 MB / 1.025 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2971, allocations: 39.12 kB / 1.025 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.234e-06/0.2971, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002109/0.2993, allocations: 1.024 MB / 1.026 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.2993, allocations: 59.97 kB / 1.026 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.3013, allocations: 1.715 MB / 1.028 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.3014, allocations: 45.7 kB / 1.028 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/0.3021, allocations: 0.9159 MB / 1.029 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.3023, allocations: 221 kB / 1.029 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.3023, allocations: 20 kB / 1.029 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3025, allocations: 361.8 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.3032, allocations: 346.4 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009523/0.3041, allocations: 0.7056 MB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008393/0.305, allocations: 458.7 kB / 1.031 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.305, allocations: 0 / 1.031 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002147/0.3072, allocations: 1.252 MB / 1.032 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3072, allocations: 8 kB / 1.032 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3072, allocations: 12.84 kB / 1.032 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.3072, allocations: 19.98 kB / 1.032 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.3083, allocations: 327.4 kB / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.3083, allocations: 19.94 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3097, allocations: 238.5 kB / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.3098, allocations: 59.98 kB / 1.033 GB, free: 6.773 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006719/0.3105, allocations: 441.2 kB / 1.033 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.3107, allocations: 185.8 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.3125, allocations: 0.9163 MB / 1.034 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.3125, allocations: 4 kB / 1.034 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3125, allocations: 0 / 1.034 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001395/0.3139, allocations: 0.8308 MB / 1.035 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003892/0.3178, allocations: 2.462 MB / 1.038 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3179, allocations: 7.938 kB / 1.038 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/0.3187, allocations: 208 kB / 1.038 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.3187, allocations: 7.938 kB / 1.038 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.3188, allocations: 16 kB / 1.038 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3188, allocations: 7.953 kB / 1.038 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3188, allocations: 7.922 kB / 1.038 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.3211, allocations: 1.394 MB / 1.039 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.3217, allocations: 398.3 kB / 1.04 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.3219, allocations: 12 kB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.323, allocations: 119.7 kB / 1.04 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.3231, allocations: 60.44 kB / 1.04 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.3231, allocations: 31.98 kB / 1.04 GB, free: 15.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001519/0.3247, allocations: 1.196 MB / 1.041 GB, free: 14.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3247, allocations: 0 / 1.041 GB, free: 14.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001448/0.3261, allocations: 0.624 MB / 1.042 GB, free: 13.63 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 (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.003368/0.3295, allocations: 2.4 MB / 1.044 GB, free: 11.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.3311, allocations: 0.8512 MB / 1.045 GB, free: 10.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3311, allocations: 3.938 kB / 1.045 GB, free: 10.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.3319, allocations: 376 kB / 1.045 GB, free: 9.973 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005294/0.3372, allocations: 1.198 MB / 1.046 GB, free: 8.789 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3229/0.6601, allocations: 11.09 MB / 1.057 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.6608, allocations: 1.403 MB / 1.059 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001623/0.6624, allocations: 380.4 kB / 1.059 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008194/0.6632, allocations: 0.7546 MB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.6632, allocations: 0 / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0775/0.7407, allocations: 56.29 MB / 1.115 GB, free: 106.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.7409, allocations: 240.9 kB / 1.115 GB, free: 106.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/4.517, allocations: 8 kB / 1.115 GB, free: 106.3 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)