Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001239/0.001239, allocations: 175.6 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.0009448/0.0009449, allocations: 86.92 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004329, allocations: 12.91 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2728, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.131/6.403, allocations: 2.083 GB / 3.063 GB, free: 187.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/6.404, allocations: 101.7 kB / 3.063 GB, free: 187.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.46/10.86, allocations: 1.291 GB / 4.353 GB, free: 224 kB / 0.9792 GB Notification: Performance of FrontEnd: time 3.587e-06/10.86, allocations: 0 / 4.353 GB, free: 224 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002206/10.86, allocations: 55.86 kB / 4.353 GB, free: 168 kB / 0.9792 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.6596/11.52, allocations: 2.365 MB / 4.356 GB, free: 130.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/11.52, allocations: 9.312 kB / 4.356 GB, free: 130.6 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009573/11.52, allocations: 193.9 kB / 4.356 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/11.53, allocations: 0.4994 MB / 4.356 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00611/11.54, allocations: 1.734 MB / 4.358 GB, free: 130.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/11.54, allocations: 103 kB / 4.358 GB, free: 130.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/11.54, allocations: 136.6 kB / 4.358 GB, free: 130.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/11.54, allocations: 1.55 MB / 4.36 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/11.54, allocations: 4.438 kB / 4.36 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/11.54, allocations: 55.38 kB / 4.36 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.382e-05/11.54, allocations: 50.86 kB / 4.36 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/11.54, allocations: 1.255 MB / 4.361 GB, free: 129.9 MB / 0.9792 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.01211/11.55, allocations: 7.207 MB / 4.368 GB, free: 126.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/11.56, allocations: 0.6732 MB / 4.369 GB, free: 126.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/11.56, allocations: 110.4 kB / 4.369 GB, free: 126 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/11.56, allocations: 45.34 kB / 4.369 GB, free: 125.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001571/11.56, allocations: 174.3 kB / 4.369 GB, free: 125.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=67): time 1.123e-05/11.56, allocations: 0.6875 kB / 4.369 GB, free: 125.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=67): time 0.002882/11.56, allocations: 1.027 MB / 4.37 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/11.56, allocations: 60.66 kB / 4.37 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/11.56, allocations: 1.149 MB / 4.371 GB, free: 125.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/11.56, allocations: 46.31 kB / 4.371 GB, free: 125.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009151/11.57, allocations: 0.7818 MB / 4.372 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/11.57, allocations: 240.8 kB / 4.372 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/11.57, allocations: 17.31 kB / 4.372 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001139/11.57, allocations: 344.4 kB / 4.373 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/11.57, allocations: 317.6 kB / 4.373 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/11.57, allocations: 0.6531 MB / 4.374 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/11.57, allocations: 433.1 kB / 4.374 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/11.57, allocations: 2.094 kB / 4.374 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002619/11.57, allocations: 1.07 MB / 4.375 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006973/11.57, allocations: 2.509 MB / 4.378 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/11.57, allocations: 10.19 kB / 4.378 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.674e-05/11.57, allocations: 12.31 kB / 4.378 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/11.57, allocations: 202.1 kB / 4.378 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.521e-05/11.57, allocations: 12.38 kB / 4.378 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/11.58, allocations: 119.8 kB / 4.378 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/11.58, allocations: 39.42 kB / 4.378 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/11.58, allocations: 7 kB / 4.378 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001869/11.58, allocations: 0.9075 MB / 4.379 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/11.58, allocations: 11.03 kB / 4.379 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/11.58, allocations: 11.19 kB / 4.379 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/11.58, allocations: 197.5 kB / 4.379 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/11.58, allocations: 18.83 kB / 4.379 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/11.58, allocations: 119.5 kB / 4.379 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/11.58, allocations: 37.14 kB / 4.379 GB, free: 121.8 MB / 0.9792 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.001468/11.58, allocations: 0.4908 MB / 4.38 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/11.58, allocations: 149.3 kB / 4.38 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/11.59, allocations: 0.8419 MB / 4.381 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/11.59, allocations: 8.219 kB / 4.381 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/11.59, allocations: 0.7031 kB / 4.381 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/11.59, allocations: 0.8004 MB / 4.381 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007038/11.59, allocations: 2.341 MB / 4.384 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/11.59, allocations: 1.797 kB / 4.384 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/11.59, allocations: 171.4 kB / 4.384 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/11.59, allocations: 8.203 kB / 4.384 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.693e-05/11.6, allocations: 23.19 kB / 4.384 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/11.6, allocations: 4.516 kB / 4.384 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/11.6, allocations: 2.594 kB / 4.384 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/11.6, allocations: 1.42 MB / 4.385 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/11.6, allocations: 325 kB / 4.386 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006958/11.6, allocations: 24.3 kB / 4.386 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/11.6, allocations: 106.6 kB / 4.386 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/11.6, allocations: 47.36 kB / 4.386 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/11.6, allocations: 29.62 kB / 4.386 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002432/11.61, allocations: 0.8931 MB / 4.387 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.61e-07/11.61, allocations: 1.188 kB / 4.387 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006077/11.61, allocations: 1.157 MB / 4.388 GB, free: 120.1 MB / 0.9792 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 (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.008983/11.62, allocations: 5.451 MB / 4.393 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002464/11.62, allocations: 1.246 MB / 4.394 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/11.62, allocations: 2.344 kB / 4.394 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005576/11.62, allocations: 355.2 kB / 4.395 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/11.63, allocations: 0.8932 MB / 4.396 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/11.65, allocations: 13.07 MB / 4.408 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/11.65, allocations: 1.379 MB / 4.41 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002641/11.65, allocations: 422.1 kB / 4.41 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/11.65, allocations: 0.613 MB / 4.411 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.543e-06/11.65, allocations: 0 / 4.411 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1464/11.8, allocations: 86.51 MB / 4.495 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/11.8, allocations: 230.1 kB / 4.495 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.743/16.54, allocations: 4 kB / 4.495 GB, free: 107.1 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)