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.001284/0.001284, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5601/0.5601, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.737/1.737, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 91.89 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.166e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1576, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.335, allocations: 377.7 MB / 0.9224 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.335, allocations: 96.67 kB / 0.9225 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.935/4.27, allocations: 0.8089 GB / 1.731 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/4.27, allocations: 0 / 1.731 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002091/4.27, allocations: 60.66 kB / 1.731 GB, free: 60.02 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.004722/4.275, allocations: 2.164 MB / 1.734 GB, free: 59.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/4.275, allocations: 12.86 kB / 1.734 GB, free: 59.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/4.276, allocations: 266.2 kB / 1.734 GB, free: 59.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05035/4.327, allocations: 24.65 MB / 1.758 GB, free: 57.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/4.327, allocations: 45.53 kB / 1.758 GB, free: 57.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/4.327, allocations: 84.5 kB / 1.758 GB, free: 57.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001631/4.329, allocations: 0.865 MB / 1.759 GB, free: 57.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/4.33, allocations: 1.195 MB / 1.76 GB, free: 57.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/4.331, allocations: 9.906 kB / 1.76 GB, free: 57.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/4.331, allocations: 3.953 kB / 1.76 GB, free: 57.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/4.331, allocations: 48.28 kB / 1.76 GB, free: 57.76 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.006933/4.338, allocations: 7.266 MB / 1.767 GB, free: 53.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/4.338, allocations: 422.5 kB / 1.768 GB, free: 53.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/4.339, allocations: 260.2 kB / 1.768 GB, free: 53.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/4.339, allocations: 1.164 MB / 1.769 GB, free: 52.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/4.339, allocations: 40.59 kB / 1.769 GB, free: 52.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.785e-06/4.339, allocations: 0 / 1.769 GB, free: 52.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.001469/4.341, allocations: 0.6147 MB / 1.77 GB, free: 52.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/4.341, allocations: 58.62 kB / 1.77 GB, free: 52.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/4.343, allocations: 1.205 MB / 1.771 GB, free: 51.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.591e-05/4.343, allocations: 32.02 kB / 1.771 GB, free: 51.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/4.343, allocations: 0.9435 MB / 1.772 GB, free: 51.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/4.344, allocations: 207.6 kB / 1.772 GB, free: 51.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/4.344, allocations: 6.062 kB / 1.772 GB, free: 51.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/4.344, allocations: 337.7 kB / 1.772 GB, free: 51.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/4.344, allocations: 221.3 kB / 1.773 GB, free: 51.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/4.344, allocations: 0.5794 MB / 1.773 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/4.345, allocations: 352.3 kB / 1.773 GB, free: 50.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/4.345, allocations: 3.938 kB / 1.773 GB, free: 50.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001595/4.347, allocations: 0.8946 MB / 1.774 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/4.347, allocations: 8.219 kB / 1.774 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/4.347, allocations: 12.78 kB / 1.774 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/4.347, allocations: 15.28 kB / 1.774 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/4.348, allocations: 233.1 kB / 1.775 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/4.348, allocations: 25.25 kB / 1.775 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/4.349, allocations: 164.2 kB / 1.775 GB, free: 50.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/4.349, allocations: 49.8 kB / 1.775 GB, free: 50.45 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 () * 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.0001567/4.349, allocations: 139.2 kB / 1.775 GB, free: 50.34 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009728/4.35, allocations: 0.6132 MB / 1.776 GB, free: 50.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/4.35, allocations: 164.3 kB / 1.776 GB, free: 50.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/4.352, allocations: 0.7313 MB / 1.776 GB, free: 50.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/4.352, allocations: 10.81 kB / 1.776 GB, free: 50.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/4.352, allocations: 0 / 1.776 GB, free: 50.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008269/4.353, allocations: 0.6795 MB / 1.777 GB, free: 49.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/4.356, allocations: 2.162 MB / 1.779 GB, free: 49.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/4.356, allocations: 5.25 kB / 1.779 GB, free: 49.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/4.357, allocations: 177.9 kB / 1.779 GB, free: 49.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/4.357, allocations: 5.906 kB / 1.779 GB, free: 49.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/4.357, allocations: 10.28 kB / 1.779 GB, free: 49.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/4.357, allocations: 6.281 kB / 1.779 GB, free: 49.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/4.357, allocations: 6.922 kB / 1.779 GB, free: 49.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/4.358, allocations: 1.296 MB / 1.781 GB, free: 48.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/4.359, allocations: 375.5 kB / 1.781 GB, free: 48.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/4.359, allocations: 2.875 kB / 1.781 GB, free: 48.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009655/4.36, allocations: 115.5 kB / 1.781 GB, free: 48.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/4.36, allocations: 50.64 kB / 1.781 GB, free: 48.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/4.36, allocations: 40.03 kB / 1.781 GB, free: 48.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001/4.361, allocations: 0.8998 MB / 1.782 GB, free: 48.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/4.361, allocations: 0 / 1.782 GB, free: 48.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002095/4.363, allocations: 0.6975 MB / 1.783 GB, free: 48.5 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 () * 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.003012/4.366, allocations: 3.225 MB / 1.786 GB, free: 46.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008765/4.367, allocations: 0.6049 MB / 1.787 GB, free: 46.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/4.367, allocations: 3.156 kB / 1.787 GB, free: 46.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003609/4.367, allocations: 294.2 kB / 1.787 GB, free: 46.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/4.372, allocations: 0.9563 MB / 1.788 GB, free: 46.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/4.377, allocations: 2.736 MB / 1.79 GB, free: 45.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/4.378, allocations: 1.453 MB / 1.792 GB, free: 45.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001326/4.379, allocations: 340.8 kB / 1.792 GB, free: 45.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/4.38, allocations: 0.7461 MB / 1.793 GB, free: 45.22 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/4.38, allocations: 0 / 1.793 GB, free: 45.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07665/4.457, allocations: 48.48 MB / 1.84 GB, free: 42.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/4.457, allocations: 176.1 kB / 1.84 GB, free: 42.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/7.782, allocations: 0 / 1.84 GB, free: 42.34 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)