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.77/2.77, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001564/0.001564, allocations: 188.9 kB / 371 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.217/2.217, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001272/0.001271, allocations: 94.34 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004952, allocations: 11.97 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1022/0.3201, allocations: 71.14 MB / 1.048 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.05076/0.3709, allocations: 17.56 MB / 1.065 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005228/0.3762, allocations: 91.38 kB / 1.065 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0059/0.3821, allocations: 0.8811 MB / 1.066 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.7751/1.157, allocations: 2.816 MB / 1.069 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00742/1.165, allocations: 1.506 MB / 1.07 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01468/1.179, allocations: 7.57 MB / 1.078 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00419/1.184, allocations: 1.449 MB / 1.079 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006793/1.191, allocations: 1.87 MB / 1.081 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005119/1.196, allocations: 1.597 MB / 1.082 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/1.197, allocations: 74.94 kB / 1.083 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006254/1.203, allocations: 0.8961 MB / 1.083 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001547/1.205, allocations: 385.2 kB / 1.084 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002426/1.207, allocations: 499.3 kB / 1.084 GB, free: 29.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00631/1.214, allocations: 2.664 MB / 1.087 GB, free: 29.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/1.214, allocations: 2.062 kB / 1.087 GB, free: 29.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/1.214, allocations: 1.031 kB / 1.087 GB, free: 29.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001119/1.214, allocations: 0 / 1.087 GB, free: 29.48 MB / 0.698 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.009678/1.223, allocations: 2.314 MB / 1.089 GB, free: 28.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/1.224, allocations: 8.562 kB / 1.089 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001075/1.225, allocations: 206.8 kB / 1.089 GB, free: 28.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/1.227, allocations: 260.9 kB / 1.09 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008939/1.235, allocations: 1.876 MB / 1.091 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/1.236, allocations: 107.4 kB / 1.091 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007071/1.237, allocations: 142 kB / 1.092 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007735/1.244, allocations: 1.531 MB / 1.093 GB, free: 27.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-05/1.244, allocations: 9.391 kB / 1.093 GB, free: 27.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/1.245, allocations: 54.62 kB / 1.093 GB, free: 27.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/1.245, allocations: 42.25 kB / 1.093 GB, free: 27.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007061/1.252, allocations: 1.156 MB / 1.094 GB, free: 27.42 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.02047/1.273, allocations: 7.578 MB / 1.102 GB, free: 23.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/1.274, allocations: 498.7 kB / 1.102 GB, free: 23.13 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/1.276, allocations: 350.7 kB / 1.103 GB, free: 23.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.277, allocations: 1.156 MB / 1.104 GB, free: 21.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/1.277, allocations: 43.73 kB / 1.104 GB, free: 21.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.246e-06/1.277, allocations: 0 / 1.104 GB, free: 21.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.003949/1.281, allocations: 1.025 MB / 1.105 GB, free: 21.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/1.281, allocations: 60.34 kB / 1.105 GB, free: 21.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003763/1.285, allocations: 1.726 MB / 1.106 GB, free: 21.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002569/1.285, allocations: 40.89 kB / 1.107 GB, free: 21.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009083/1.286, allocations: 0.9283 MB / 1.107 GB, free: 20.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/1.286, allocations: 215 kB / 1.108 GB, free: 20.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/1.287, allocations: 21.12 kB / 1.108 GB, free: 20.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.287, allocations: 343.3 kB / 1.108 GB, free: 20.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.288, allocations: 350.2 kB / 1.108 GB, free: 20.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/1.289, allocations: 0.7057 MB / 1.109 GB, free: 20.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/1.291, allocations: 469.3 kB / 1.109 GB, free: 20.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.291, allocations: 3.344 kB / 1.109 GB, free: 20.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003722/1.295, allocations: 1.247 MB / 1.111 GB, free: 19.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.295, allocations: 16.8 kB / 1.111 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.295, allocations: 9.438 kB / 1.111 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/1.295, allocations: 17.41 kB / 1.111 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.297, allocations: 319.3 kB / 1.111 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.674e-05/1.297, allocations: 18.28 kB / 1.111 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/1.3, allocations: 251.5 kB / 1.111 GB, free: 19.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.3, allocations: 55.92 kB / 1.111 GB, free: 19.84 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.001165/1.301, allocations: 434.5 kB / 1.112 GB, free: 19.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/1.301, allocations: 193.8 kB / 1.112 GB, free: 19.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/1.304, allocations: 0.9078 MB / 1.113 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/1.304, allocations: 10.39 kB / 1.113 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.304, allocations: 0 / 1.113 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002266/1.307, allocations: 0.8354 MB / 1.114 GB, free: 19.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006967/1.314, allocations: 2.472 MB / 1.116 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.314, allocations: 7 kB / 1.116 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.315, allocations: 205.2 kB / 1.116 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/1.315, allocations: 4.531 kB / 1.116 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/1.315, allocations: 19.86 kB / 1.116 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/1.315, allocations: 11.12 kB / 1.116 GB, free: 18.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.315, allocations: 2.312 kB / 1.116 GB, free: 18.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/1.32, allocations: 1.392 MB / 1.118 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.321, allocations: 401.8 kB / 1.118 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006072/1.322, allocations: 19.69 kB / 1.118 GB, free: 18.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/1.325, allocations: 123.2 kB / 1.118 GB, free: 18.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/1.325, allocations: 57.38 kB / 1.118 GB, free: 18.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.325, allocations: 38.55 kB / 1.118 GB, free: 18.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003337/1.328, allocations: 1.189 MB / 1.119 GB, free: 18.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.52e-07/1.328, allocations: 0 / 1.119 GB, free: 18.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003362/1.332, allocations: 0.632 MB / 1.12 GB, free: 17.97 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.006523/1.338, allocations: 2.393 MB / 1.122 GB, free: 17.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003157/1.342, allocations: 0.849 MB / 1.123 GB, free: 16.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.342, allocations: 1.438 kB / 1.123 GB, free: 16.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/1.343, allocations: 375.8 kB / 1.124 GB, free: 16.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/1.354, allocations: 1.207 MB / 1.125 GB, free: 16.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03764/1.392, allocations: 11.11 MB / 1.136 GB, free: 11.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/1.394, allocations: 1.399 MB / 1.137 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002956/1.397, allocations: 378.4 kB / 1.137 GB, free: 10.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/1.398, allocations: 0.7612 MB / 1.138 GB, free: 10.52 MB / 0.698 GB Notification: Performance of SimCode: time 2.966e-06/1.399, allocations: 0 / 1.138 GB, free: 10.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1556/1.554, allocations: 56.51 MB / 1.193 GB, free: 9 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003396/1.555, allocations: 248.7 kB / 1.193 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.728/6.283, allocations: 4 kB / 1.193 GB, free: 8.75 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)