Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.001481, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.001/2.001, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006912/0.0006914, allocations: 15.16 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2863, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7872/1.074, allocations: 223.7 MB / 1.006 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02718/1.101, allocations: 15.73 MB / 1.021 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004576/1.105, allocations: 50.94 kB / 1.021 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006328/1.112, allocations: 1.004 MB / 1.022 GB, free: 344 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01716/1.129, allocations: 2.946 MB / 1.025 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009886/1.139, allocations: 1.775 MB / 1.027 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008351/1.147, allocations: 2.698 MB / 1.029 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003927/1.151, allocations: 1.323 MB / 1.031 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007064/1.158, allocations: 1.586 MB / 1.032 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/1.162, allocations: 0.9429 MB / 1.033 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004285/1.162, allocations: 73.75 kB / 1.033 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004962/1.167, allocations: 1.315 MB / 1.034 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007773/1.168, allocations: 0.5494 MB / 1.035 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008644/1.169, allocations: 424.7 kB / 1.035 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003809/1.173, allocations: 2.455 MB / 1.038 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.173, allocations: 0 / 1.038 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.296e-06/1.173, allocations: 0 / 1.038 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.788e-05/1.173, allocations: 0 / 1.038 GB, free: 5.859 MB / 0.7481 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.004288/1.177, allocations: 1.982 MB / 1.04 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.177, allocations: 8.219 kB / 1.04 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003448/1.177, allocations: 203.6 kB / 1.04 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004499/1.182, allocations: 0.6567 MB / 1.041 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/1.185, allocations: 1.27 MB / 1.042 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/1.185, allocations: 104.5 kB / 1.042 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/1.185, allocations: 140.9 kB / 1.042 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/1.188, allocations: 1.551 MB / 1.044 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/1.188, allocations: 0 / 1.044 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/1.188, allocations: 56 kB / 1.044 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/1.188, allocations: 42.45 kB / 1.044 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/1.19, allocations: 1.27 MB / 1.045 GB, free: 172 kB / 0.7481 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.009315/1.2, allocations: 7.21 MB / 1.052 GB, free: 8.391 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009758/1.201, allocations: 0.6449 MB / 1.053 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/1.201, allocations: 24.53 kB / 1.053 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.201, allocations: 39.12 kB / 1.053 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008997/1.202, allocations: 143.1 kB / 1.053 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=67): time 2.996e-06/1.202, allocations: 4 kB / 1.053 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67): time 0.001823/1.204, allocations: 1.009 MB / 1.054 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/1.204, allocations: 59.97 kB / 1.054 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/1.205, allocations: 1.327 MB / 1.055 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.662e-05/1.205, allocations: 49.64 kB / 1.055 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/1.206, allocations: 0.7697 MB / 1.056 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/1.206, allocations: 248.5 kB / 1.056 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/1.206, allocations: 16 kB / 1.056 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.206, allocations: 345.9 kB / 1.056 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/1.207, allocations: 345.8 kB / 1.057 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008067/1.208, allocations: 0.6749 MB / 1.057 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/1.209, allocations: 450.8 kB / 1.058 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.209, allocations: 0 / 1.058 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001818/1.21, allocations: 1.14 MB / 1.059 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001243/1.212, allocations: 2.671 MB / 1.062 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.212, allocations: 8 kB / 1.062 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/1.212, allocations: 12 kB / 1.062 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009782/1.213, allocations: 215.6 kB / 1.062 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/1.213, allocations: 8 kB / 1.062 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.215, allocations: 133.5 kB / 1.062 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/1.215, allocations: 40 kB / 1.062 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/1.215, allocations: 6.969 kB / 1.062 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001483/1.216, allocations: 0.9755 MB / 1.063 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.216, allocations: 8.906 kB / 1.063 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.216, allocations: 15.95 kB / 1.063 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/1.217, allocations: 215.6 kB / 1.063 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.217, allocations: 12 kB / 1.063 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.219, allocations: 131.6 kB / 1.063 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/1.219, allocations: 47.92 kB / 1.063 GB, free: 12.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (121): * Single equations (assignments): 119 * Array equations: 2 * 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.001181/1.22, allocations: 0.489 MB / 1.064 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/1.221, allocations: 146.2 kB / 1.064 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/1.222, allocations: 0.8278 MB / 1.065 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/1.222, allocations: 11.95 kB / 1.065 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.222, allocations: 0 / 1.065 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/1.223, allocations: 0.7785 MB / 1.066 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/1.227, allocations: 2.29 MB / 1.068 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.227, allocations: 0 / 1.068 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/1.228, allocations: 171.8 kB / 1.068 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/1.228, allocations: 4.188 kB / 1.068 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/1.228, allocations: 24 kB / 1.068 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.228, allocations: 4 kB / 1.068 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.228, allocations: 0 / 1.068 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.23, allocations: 1.394 MB / 1.069 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008182/1.231, allocations: 323.2 kB / 1.07 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.231, allocations: 12 kB / 1.07 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.233, allocations: 91.83 kB / 1.07 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/1.233, allocations: 48.44 kB / 1.07 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/1.233, allocations: 31.98 kB / 1.07 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001356/1.234, allocations: 0.8925 MB / 1.071 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/1.234, allocations: 4 kB / 1.071 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002186/1.236, allocations: 0.8417 MB / 1.072 GB, free: 3.676 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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 (71): * Single equations (assignments): 71 * 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.002664/1.239, allocations: 2.49 MB / 1.074 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002268/1.241, allocations: 1.31 MB / 1.075 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.241, allocations: 4 kB / 1.075 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004836/1.242, allocations: 348.5 kB / 1.076 GB, free: 15.47 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004914/1.247, allocations: 0.838 MB / 1.076 GB, free: 14.64 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008515/1.255, allocations: 8.918 MB / 1.085 GB, free: 5.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.256, allocations: 1.384 MB / 1.086 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002017/1.258, allocations: 420.4 kB / 1.087 GB, free: 3.664 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008037/1.259, allocations: 0.6008 MB / 1.087 GB, free: 3.062 MB / 0.795 GB Notification: Performance of SimCode: time 1.182e-06/1.259, allocations: 0 / 1.087 GB, free: 3.062 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07241/1.332, allocations: 40.54 MB / 1.127 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.332, allocations: 218.1 kB / 1.127 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/7.954, allocations: 0 / 1.127 GB, free: 10.81 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: