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.001049/0.001049, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008226/0.008226, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.4 MB / 222.4 MB, free: 5.57 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 1.511/1.511, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004534/0.0004534, allocations: 19.58 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.572/0.745, allocations: 268.8 MB / 1.051 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.7643, allocations: 17.17 MB / 1.067 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.7669, allocations: 60.69 kB / 1.067 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.7697, allocations: 0.9971 MB / 1.068 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007424/0.7771, allocations: 2.915 MB / 1.071 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004841/0.782, allocations: 2.025 MB / 1.073 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006699/0.7887, allocations: 6.723 MB / 1.08 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.7904, allocations: 1.422 MB / 1.081 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004447/0.7949, allocations: 2.052 MB / 1.083 GB, free: 13.74 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.7973, allocations: 1.525 MB / 1.085 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.7974, allocations: 76 kB / 1.085 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005248/0.8027, allocations: 3.398 MB / 1.088 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005529/0.8033, allocations: 0.5996 MB / 1.089 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000954/0.8042, allocations: 0.9967 MB / 1.09 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.8083, allocations: 3.855 MB / 1.093 GB, free: 3.262 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.8083, allocations: 0 / 1.093 GB, free: 3.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8083, allocations: 4 kB / 1.093 GB, free: 3.258 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.8084, allocations: 0 / 1.093 GB, free: 3.258 MB / 0.795 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.003059/0.8114, allocations: 2.031 MB / 1.095 GB, free: 1.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.8115, allocations: 12.03 kB / 1.095 GB, free: 1.148 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.8117, allocations: 190.1 kB / 1.095 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/0.8157, allocations: 0.6533 MB / 1.096 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.8176, allocations: 1.315 MB / 1.097 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.8176, allocations: 106.5 kB / 1.097 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.8179, allocations: 140 kB / 1.098 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.8203, allocations: 1.565 MB / 1.099 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.8203, allocations: 7.984 kB / 1.099 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.8204, allocations: 55.94 kB / 1.099 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/0.8205, allocations: 50.39 kB / 1.099 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.8224, allocations: 1.259 MB / 1.1 GB, free: 11.67 MB / 0.8106 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.007346/0.8298, allocations: 7.218 MB / 1.108 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/0.8307, allocations: 0.657 MB / 1.108 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.8313, allocations: 374.3 kB / 1.109 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.8314, allocations: 101.7 kB / 1.109 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.8315, allocations: 43.12 kB / 1.109 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005565/0.832, allocations: 155 kB / 1.109 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=67): time 2.054e-06/0.8321, allocations: 0 / 1.109 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=67): time 0.001709/0.8338, allocations: 1.016 MB / 1.11 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.8338, allocations: 59.97 kB / 1.11 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.8354, allocations: 1.327 MB / 1.111 GB, free: 108 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.8355, allocations: 49.69 kB / 1.111 GB, free: 52 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005534/0.836, allocations: 0.7735 MB / 1.112 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.8362, allocations: 240.6 kB / 1.112 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.8363, allocations: 85.67 kB / 1.112 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8365, allocations: 349.9 kB / 1.113 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.837, allocations: 349.8 kB / 1.113 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.8377, allocations: 0.6829 MB / 1.114 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.8389, allocations: 0.9527 MB / 1.115 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.8389, allocations: 4 kB / 1.115 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001589/0.8405, allocations: 1.14 MB / 1.116 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.8407, allocations: 292.3 kB / 1.116 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.8407, allocations: 12 kB / 1.116 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.434e-05/0.8407, allocations: 8 kB / 1.116 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.8416, allocations: 215.6 kB / 1.116 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.8416, allocations: 15.94 kB / 1.116 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.843, allocations: 137.3 kB / 1.116 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.843, allocations: 40 kB / 1.116 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.181e-06/0.8431, allocations: 4 kB / 1.116 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/0.8444, allocations: 0.9919 MB / 1.117 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8445, allocations: 4 kB / 1.117 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8445, allocations: 12 kB / 1.117 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/0.8453, allocations: 207.7 kB / 1.118 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.8453, allocations: 15.94 kB / 1.118 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.8465, allocations: 123.8 kB / 1.118 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.8466, allocations: 43.98 kB / 1.118 GB, free: 9.047 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000607/0.8472, allocations: 0.4928 MB / 1.118 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.8474, allocations: 154.2 kB / 1.118 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.8487, allocations: 0.8085 MB / 1.119 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8487, allocations: 8 kB / 1.119 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8487, allocations: 4 kB / 1.119 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009029/0.8496, allocations: 0.7901 MB / 1.12 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.8526, allocations: 2.283 MB / 1.122 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8526, allocations: 4.125 kB / 1.122 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.8534, allocations: 175.8 kB / 1.122 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.8534, allocations: 4 kB / 1.122 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.8534, allocations: 20 kB / 1.122 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.8535, allocations: 11.88 kB / 1.122 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8535, allocations: 0 / 1.122 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.8551, allocations: 1.312 MB / 1.124 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.8555, allocations: 315.2 kB / 1.124 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.8557, allocations: 23.98 kB / 1.124 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009647/0.8566, allocations: 91.7 kB / 1.124 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.8567, allocations: 44.5 kB / 1.124 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.8568, allocations: 31.98 kB / 1.124 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001058/0.8579, allocations: 0.9042 MB / 1.125 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8579, allocations: 0 / 1.125 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001701/0.8596, allocations: 0.8457 MB / 1.126 GB, free: 0.5312 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002184/0.8618, allocations: 2.015 MB / 1.128 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.8636, allocations: 1.327 MB / 1.129 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8636, allocations: 4 kB / 1.129 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.8641, allocations: 351.9 kB / 1.129 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/0.8681, allocations: 0.8498 MB / 1.13 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.8839, allocations: 12.21 MB / 1.142 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.8847, allocations: 1.345 MB / 1.143 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001546/0.8863, allocations: 416.4 kB / 1.144 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/0.887, allocations: 0.6125 MB / 1.144 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.887, allocations: 0 / 1.144 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.6/3.487, allocations: 40.44 MB / 1.184 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/3.487, allocations: 244.4 kB / 1.184 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/6.172, allocations: 3.938 kB / 1.184 GB, free: 4.59 MB / 0.8887 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/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)