Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.602/2.602, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001719/0.001719, allocations: 180.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 97.14 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005472/0.0005472, allocations: 15.91 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2121, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09918/0.3113, allocations: 64.42 MB / 1.041 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03675/0.3481, allocations: 16.09 MB / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003782/0.352, allocations: 83.38 kB / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005906/0.3579, allocations: 1.178 MB / 1.058 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.3734, allocations: 3.454 MB / 1.062 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.3842, allocations: 2.312 MB / 1.064 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.3945, allocations: 3.844 MB / 1.068 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6771/1.072, allocations: 1.46 MB / 1.069 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005768/1.077, allocations: 1.647 MB / 1.071 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/1.081, allocations: 1.073 MB / 1.072 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008051/1.082, allocations: 74.91 kB / 1.072 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006076/1.088, allocations: 1.011 MB / 1.073 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/1.089, allocations: 377.6 kB / 1.073 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/1.091, allocations: 495 kB / 1.073 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007482/1.098, allocations: 2.64 MB / 1.076 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.098, allocations: 0 / 1.076 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.056e-06/1.098, allocations: 3.562 kB / 1.076 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001353/1.099, allocations: 0 / 1.076 GB, free: 12.06 MB / 0.6823 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.009175/1.108, allocations: 2.308 MB / 1.078 GB, free: 26.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.108, allocations: 9.312 kB / 1.078 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009118/1.109, allocations: 204.3 kB / 1.079 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/1.11, allocations: 264.8 kB / 1.079 GB, free: 26.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006655/1.117, allocations: 1.747 MB / 1.08 GB, free: 26.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/1.117, allocations: 109.7 kB / 1.081 GB, free: 26.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005305/1.118, allocations: 154.1 kB / 1.081 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005871/1.124, allocations: 1.515 MB / 1.082 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.147e-05/1.124, allocations: 5.188 kB / 1.082 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/1.124, allocations: 61.86 kB / 1.082 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/1.124, allocations: 37.73 kB / 1.082 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005001/1.129, allocations: 1.165 MB / 1.083 GB, free: 26.02 MB / 0.698 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.01622/1.145, allocations: 7.641 MB / 1.091 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/1.147, allocations: 494.3 kB / 1.091 GB, free: 21.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/1.149, allocations: 1.146 MB / 1.093 GB, free: 20.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/1.149, allocations: 48.73 kB / 1.093 GB, free: 20.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.386e-06/1.149, allocations: 0 / 1.093 GB, free: 20.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.004419/1.153, allocations: 1.019 MB / 1.094 GB, free: 20.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/1.153, allocations: 62.03 kB / 1.094 GB, free: 20.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004738/1.158, allocations: 1.804 MB / 1.095 GB, free: 19.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/1.158, allocations: 48.27 kB / 1.095 GB, free: 19.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/1.16, allocations: 0.9156 MB / 1.096 GB, free: 19.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/1.16, allocations: 226 kB / 1.097 GB, free: 19.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/1.16, allocations: 24.28 kB / 1.097 GB, free: 19.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.16, allocations: 350 kB / 1.097 GB, free: 19.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/1.162, allocations: 345.8 kB / 1.097 GB, free: 19.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/1.164, allocations: 0.7026 MB / 1.098 GB, free: 18.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/1.165, allocations: 463.9 kB / 1.098 GB, free: 18.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.165, allocations: 3.438 kB / 1.098 GB, free: 18.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004569/1.17, allocations: 1.249 MB / 1.1 GB, free: 18.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/1.17, allocations: 15.69 kB / 1.1 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/1.17, allocations: 10.38 kB / 1.1 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.784e-05/1.17, allocations: 17.41 kB / 1.1 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/1.172, allocations: 325.1 kB / 1.1 GB, free: 18.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.54e-05/1.172, allocations: 25.28 kB / 1.1 GB, free: 18.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/1.176, allocations: 255 kB / 1.1 GB, free: 18.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/1.176, allocations: 50.98 kB / 1.1 GB, free: 18.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001571/1.178, allocations: 434.5 kB / 1.101 GB, free: 18.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007137/1.178, allocations: 187.7 kB / 1.101 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/1.182, allocations: 0.9019 MB / 1.102 GB, free: 18.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.182, allocations: 15.83 kB / 1.102 GB, free: 18.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.182, allocations: 5.406 kB / 1.102 GB, free: 18.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002432/1.184, allocations: 0.8291 MB / 1.103 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008429/1.193, allocations: 2.514 MB / 1.105 GB, free: 17.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.193, allocations: 2.625 kB / 1.105 GB, free: 17.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.194, allocations: 209.8 kB / 1.105 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.194, allocations: 7.25 kB / 1.105 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/1.195, allocations: 18.72 kB / 1.105 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/1.195, allocations: 6.703 kB / 1.105 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.195, allocations: 0.8438 kB / 1.105 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/1.199, allocations: 1.545 MB / 1.107 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.201, allocations: 419.7 kB / 1.107 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/1.202, allocations: 14.27 kB / 1.107 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.205, allocations: 122 kB / 1.107 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/1.205, allocations: 54.75 kB / 1.107 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.205, allocations: 37.22 kB / 1.107 GB, free: 16.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003463/1.209, allocations: 1.257 MB / 1.109 GB, free: 16.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.209, allocations: 4 kB / 1.109 GB, free: 16.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003766/1.213, allocations: 0.6651 MB / 1.109 GB, free: 16.41 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.007194/1.22, allocations: 3.079 MB / 1.112 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003234/1.223, allocations: 0.85 MB / 1.113 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.223, allocations: 2.375 kB / 1.113 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.225, allocations: 375.4 kB / 1.113 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/1.236, allocations: 1.195 MB / 1.115 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.252, allocations: 11.51 MB / 1.126 GB, free: 5.301 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/1.253, allocations: 1.443 MB / 1.127 GB, free: 4.551 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003125/1.256, allocations: 382.6 kB / 1.128 GB, free: 4.457 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/1.259, allocations: 0.7633 MB / 1.128 GB, free: 4.445 MB / 0.698 GB Notification: Performance of SimCode: time 1.764e-06/1.259, allocations: 0 / 1.128 GB, free: 4.445 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.202/1.461, allocations: 56.65 MB / 1.184 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/1.461, allocations: 238.9 kB / 1.184 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.801/6.262, allocations: 3.375 kB / 1.184 GB, free: 13.21 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)