Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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.001585/0.001585, allocations: 182.7 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.536/0.536, 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.723/1.723, allocations: 223.2 MB / 354.3 MB, free: 12.21 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.001185/0.001185, allocations: 107.6 kB / 427.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 11.98 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.195, allocations: 72.31 MB / 0.5689 GB, free: 1.859 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.88/6.075, allocations: 1.882 GB / 2.451 GB, free: 169.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/6.075, allocations: 101.9 kB / 2.451 GB, free: 169.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.214/11.29, allocations: 1.312 GB / 3.763 GB, free: 65.71 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.916e-06/11.29, allocations: 2.375 kB / 3.763 GB, free: 65.71 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000347/11.29, allocations: 48.31 kB / 3.763 GB, free: 65.7 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01137/11.3, allocations: 2.384 MB / 3.766 GB, free: 64.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.141e-05/11.3, allocations: 8.438 kB / 3.766 GB, free: 64.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/11.3, allocations: 194.4 kB / 3.766 GB, free: 64.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007648/11.31, allocations: 0.4969 MB / 3.766 GB, free: 64.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/11.32, allocations: 1.75 MB / 3.768 GB, free: 63.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/11.32, allocations: 105.4 kB / 3.768 GB, free: 63.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/11.32, allocations: 142.7 kB / 3.768 GB, free: 63.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/11.32, allocations: 1.549 MB / 3.77 GB, free: 63.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/11.32, allocations: 3.938 kB / 3.77 GB, free: 63.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/11.32, allocations: 61.73 kB / 3.77 GB, free: 63.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.27e-05/11.32, allocations: 45.95 kB / 3.77 GB, free: 63.58 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/11.33, allocations: 1.268 MB / 3.771 GB, free: 63.55 MB / 0.6511 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.01397/11.34, allocations: 7.206 MB / 3.778 GB, free: 59.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/11.34, allocations: 0.6721 MB / 3.779 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/11.34, allocations: 104.9 kB / 3.779 GB, free: 59.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/11.34, allocations: 48.34 kB / 3.779 GB, free: 59.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00183/11.34, allocations: 166.3 kB / 3.779 GB, free: 59.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 1.062e-05/11.34, allocations: 0 / 3.779 GB, free: 59.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.003244/11.35, allocations: 1.038 MB / 3.78 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/11.35, allocations: 58.62 kB / 3.78 GB, free: 59.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/11.35, allocations: 1.159 MB / 3.781 GB, free: 59.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/11.35, allocations: 44.33 kB / 3.781 GB, free: 59.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007758/11.35, allocations: 0.7775 MB / 3.782 GB, free: 58.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/11.35, allocations: 250.6 kB / 3.782 GB, free: 58.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/11.35, allocations: 18.59 kB / 3.782 GB, free: 58.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001281/11.35, allocations: 343.5 kB / 3.783 GB, free: 58.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007333/11.35, allocations: 318 kB / 3.783 GB, free: 58.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/11.35, allocations: 0.6473 MB / 3.784 GB, free: 57.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/11.35, allocations: 431.2 kB / 3.784 GB, free: 57.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/11.35, allocations: 0 / 3.784 GB, free: 57.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002757/11.36, allocations: 1.084 MB / 3.785 GB, free: 57.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007679/11.36, allocations: 2.503 MB / 3.787 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/11.36, allocations: 11.77 kB / 3.787 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.143e-05/11.36, allocations: 11.72 kB / 3.788 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/11.36, allocations: 201.6 kB / 3.788 GB, free: 55.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.051e-05/11.36, allocations: 11.28 kB / 3.788 GB, free: 55.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/11.36, allocations: 130.8 kB / 3.788 GB, free: 55.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/11.36, allocations: 39.64 kB / 3.788 GB, free: 55.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/11.36, allocations: 3.875 kB / 3.788 GB, free: 55.06 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001974/11.36, allocations: 0.9116 MB / 3.789 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/11.36, allocations: 6.75 kB / 3.789 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/11.36, allocations: 11 kB / 3.789 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/11.37, allocations: 199.6 kB / 3.789 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/11.37, allocations: 13.97 kB / 3.789 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/11.37, allocations: 135.2 kB / 3.789 GB, free: 54.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/11.37, allocations: 43.55 kB / 3.789 GB, free: 54.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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.00138/11.37, allocations: 498.4 kB / 3.79 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/11.37, allocations: 149.5 kB / 3.79 GB, free: 54.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/11.37, allocations: 0.8391 MB / 3.791 GB, free: 53.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/11.37, allocations: 7.125 kB / 3.791 GB, free: 53.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/11.37, allocations: 0 / 3.791 GB, free: 53.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/11.37, allocations: 0.8089 MB / 3.791 GB, free: 53.33 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/11.38, allocations: 2.365 MB / 3.794 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/11.38, allocations: 0 / 3.794 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/11.38, allocations: 163.3 kB / 3.794 GB, free: 52.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/11.38, allocations: 3.906 kB / 3.794 GB, free: 52.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.519e-05/11.38, allocations: 27.14 kB / 3.794 GB, free: 52.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/11.38, allocations: 7.562 kB / 3.794 GB, free: 52.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/11.38, allocations: 0 / 3.794 GB, free: 52.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/11.38, allocations: 1.376 MB / 3.795 GB, free: 51.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/11.38, allocations: 327.6 kB / 3.796 GB, free: 51.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005213/11.39, allocations: 19.45 kB / 3.796 GB, free: 51.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/11.39, allocations: 103.6 kB / 3.796 GB, free: 51.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/11.39, allocations: 45.14 kB / 3.796 GB, free: 51.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/11.39, allocations: 35.53 kB / 3.796 GB, free: 51.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002236/11.39, allocations: 0.8904 MB / 3.797 GB, free: 50.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.11e-07/11.39, allocations: 0 / 3.797 GB, free: 50.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006096/11.4, allocations: 1.16 MB / 3.798 GB, free: 50.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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 (72): * Single equations (assignments): 72 * 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 Backend phase and start with SimCode phase: time 0.01157/11.41, allocations: 5.395 MB / 3.803 GB, free: 47.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003589/11.41, allocations: 1.254 MB / 3.804 GB, free: 46.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/11.41, allocations: 0 / 3.804 GB, free: 46.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/11.41, allocations: 349.6 kB / 3.805 GB, free: 46.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007128/11.42, allocations: 0.8856 MB / 3.805 GB, free: 46.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/11.44, allocations: 13.11 MB / 3.818 GB, free: 34.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/11.45, allocations: 1.39 MB / 3.82 GB, free: 33.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003168/11.45, allocations: 426.6 kB / 3.82 GB, free: 33.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/11.45, allocations: 0.611 MB / 3.821 GB, free: 32.64 MB / 0.6511 GB Notification: Performance of SimCode: time 9.568e-06/11.45, allocations: 4 kB / 3.821 GB, free: 32.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.608/12.06, allocations: 86.32 MB / 3.905 GB, free: 71.39 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/12.06, allocations: 221.8 kB / 3.905 GB, free: 71.14 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.161/17.22, allocations: 0 / 3.905 GB, free: 71.14 MB / 0.6667 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)