Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002265, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5339/0.5339, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 223.1 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001092, allocations: 92.27 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004599, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 72.3 MB / 0.5689 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.436, allocations: 378.4 MB / 0.9384 GB, free: 88.56 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.437, allocations: 99.56 kB / 0.9385 GB, free: 88.51 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.451/4.887, allocations: 0.8159 GB / 1.754 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.186e-06/4.887, allocations: 0 / 1.754 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002722/4.887, allocations: 59.86 kB / 1.754 GB, free: 55.88 MB / 0.6198 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.008261/4.896, allocations: 2.575 MB / 1.757 GB, free: 54.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/4.896, allocations: 11.28 kB / 1.757 GB, free: 54.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006407/4.896, allocations: 200.2 kB / 1.757 GB, free: 54.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/4.898, allocations: 273 kB / 1.757 GB, free: 54.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05404/4.952, allocations: 24.85 MB / 1.782 GB, free: 53.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/4.952, allocations: 105.7 kB / 1.782 GB, free: 53.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/4.952, allocations: 148.8 kB / 1.782 GB, free: 53.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/4.955, allocations: 1.484 MB / 1.783 GB, free: 53.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/4.955, allocations: 3.906 kB / 1.783 GB, free: 53.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/4.955, allocations: 63.7 kB / 1.783 GB, free: 53.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/4.955, allocations: 37.56 kB / 1.783 GB, free: 53.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/4.957, allocations: 1.109 MB / 1.785 GB, free: 53.34 MB / 0.6198 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.008671/4.966, allocations: 7.567 MB / 1.792 GB, free: 49.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/4.967, allocations: 0.5114 MB / 1.792 GB, free: 49.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000691/4.967, allocations: 1.159 MB / 1.794 GB, free: 47.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/4.967, allocations: 40.97 kB / 1.794 GB, free: 47.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.816e-06/4.967, allocations: 2.156 kB / 1.794 GB, free: 47.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.002251/4.97, allocations: 1.04 MB / 1.795 GB, free: 47.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/4.97, allocations: 63.41 kB / 1.795 GB, free: 47.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/4.972, allocations: 1.542 MB / 1.796 GB, free: 47.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/4.972, allocations: 40.64 kB / 1.796 GB, free: 47.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/4.973, allocations: 0.9476 MB / 1.797 GB, free: 47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/4.973, allocations: 214.9 kB / 1.797 GB, free: 46.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/4.973, allocations: 17.25 kB / 1.797 GB, free: 46.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/4.973, allocations: 340.4 kB / 1.798 GB, free: 46.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/4.973, allocations: 311.2 kB / 1.798 GB, free: 46.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/4.974, allocations: 0.675 MB / 1.799 GB, free: 46.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/4.975, allocations: 418.2 kB / 1.799 GB, free: 46.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/4.975, allocations: 7.922 kB / 1.799 GB, free: 46.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001996/4.977, allocations: 1.13 MB / 1.8 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/4.977, allocations: 10.25 kB / 1.8 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/4.977, allocations: 8.844 kB / 1.8 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/4.977, allocations: 18.19 kB / 1.8 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/4.978, allocations: 234.8 kB / 1.8 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/4.978, allocations: 22.64 kB / 1.8 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/4.98, allocations: 234.8 kB / 1.801 GB, free: 45.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/4.98, allocations: 54.02 kB / 1.801 GB, free: 45.89 MB / 0.6198 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 (111): * Single equations (assignments): 111 * 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.0009498/4.981, allocations: 431.8 kB / 1.801 GB, free: 45.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/4.981, allocations: 198.1 kB / 1.801 GB, free: 45.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/4.983, allocations: 0.9249 MB / 1.802 GB, free: 45.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/4.983, allocations: 17.52 kB / 1.802 GB, free: 45.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/4.983, allocations: 0 / 1.802 GB, free: 45.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/4.984, allocations: 0.8442 MB / 1.803 GB, free: 45.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/4.988, allocations: 2.517 MB / 1.806 GB, free: 44.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/4.988, allocations: 3.906 kB / 1.806 GB, free: 44.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/4.989, allocations: 181.5 kB / 1.806 GB, free: 44.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/4.989, allocations: 8.094 kB / 1.806 GB, free: 44.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/4.989, allocations: 16.12 kB / 1.806 GB, free: 44.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/4.989, allocations: 5.812 kB / 1.806 GB, free: 44.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/4.989, allocations: 10.11 kB / 1.806 GB, free: 44.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/4.991, allocations: 1.588 MB / 1.807 GB, free: 44.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/4.992, allocations: 404.5 kB / 1.808 GB, free: 44.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/4.993, allocations: 14.41 kB / 1.808 GB, free: 44.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/4.994, allocations: 139.6 kB / 1.808 GB, free: 44.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/4.994, allocations: 52.72 kB / 1.808 GB, free: 44.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/4.994, allocations: 34 kB / 1.808 GB, free: 44.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001736/4.996, allocations: 1.229 MB / 1.809 GB, free: 44.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/4.996, allocations: 0 / 1.809 GB, free: 44.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002374/4.998, allocations: 0.6951 MB / 1.81 GB, free: 43.91 MB / 0.6198 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.004336/5.002, allocations: 3.493 MB / 1.813 GB, free: 42.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001666/5.004, allocations: 0.7896 MB / 1.814 GB, free: 42.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/5.004, allocations: 0 / 1.814 GB, free: 42.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006654/5.005, allocations: 390.6 kB / 1.814 GB, free: 42.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00632/5.011, allocations: 1.254 MB / 1.816 GB, free: 42.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/5.034, allocations: 17.8 MB / 1.833 GB, free: 30.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009226/5.035, allocations: 1.45 MB / 1.834 GB, free: 30.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002207/5.037, allocations: 382.7 kB / 1.835 GB, free: 30.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/5.038, allocations: 0.7634 MB / 1.836 GB, free: 30.12 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/5.038, allocations: 0 / 1.836 GB, free: 30.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/5.155, allocations: 63.13 MB / 1.897 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/5.156, allocations: 228.5 kB / 1.897 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.846/10, allocations: 3.938 kB / 1.897 GB, free: 26.18 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)