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.001278/0.001278, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 192.9 kB / 16.64 MB, free: 6.594 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.785/1.785, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001457/0.001457, allocations: 71.78 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2158, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7197/0.9356, allocations: 274.6 MB / 1.052 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.9602, allocations: 17.26 MB / 1.069 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.9636, allocations: 67.62 kB / 1.069 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.9673, allocations: 1.157 MB / 1.07 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009725/0.977, allocations: 3.092 MB / 1.073 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006141/0.9832, allocations: 2.221 MB / 1.075 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007548/0.9907, allocations: 4.811 MB / 1.08 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/0.9939, allocations: 1.757 MB / 1.081 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/1.001, allocations: 2.406 MB / 1.084 GB, free: 3.699 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/1.005, allocations: 1.538 MB / 1.085 GB, free: 2.164 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000656/1.005, allocations: 192 kB / 1.085 GB, free: 1.977 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007256/1.013, allocations: 3.005 MB / 1.088 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/1.014, allocations: 0.7168 MB / 1.089 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002203/1.016, allocations: 1.12 MB / 1.09 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007812/1.024, allocations: 3.829 MB / 1.094 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.024, allocations: 4 kB / 1.094 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.615e-06/1.024, allocations: 0 / 1.094 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.964e-05/1.024, allocations: 0 / 1.094 GB, free: 9.277 MB / 0.8106 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.005191/1.03, allocations: 2.42 MB / 1.096 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.03, allocations: 12.02 kB / 1.096 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/1.03, allocations: 198.1 kB / 1.097 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/1.034, allocations: 0.6416 MB / 1.097 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/1.037, allocations: 1.385 MB / 1.098 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/1.037, allocations: 102.5 kB / 1.099 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/1.037, allocations: 140 kB / 1.099 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/1.04, allocations: 1.573 MB / 1.1 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/1.04, allocations: 3.938 kB / 1.1 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/1.04, allocations: 59.94 kB / 1.1 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.597e-05/1.04, allocations: 42.45 kB / 1.1 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/1.042, allocations: 1.263 MB / 1.102 GB, free: 1.234 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.00928/1.052, allocations: 7.194 MB / 1.109 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/1.053, allocations: 0.6517 MB / 1.109 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/1.053, allocations: 374.1 kB / 1.11 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/1.053, allocations: 109.6 kB / 1.11 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/1.053, allocations: 43.12 kB / 1.11 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006275/1.054, allocations: 99.05 kB / 1.11 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=67): time 2.815e-06/1.054, allocations: 4 kB / 1.11 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67): time 0.001924/1.056, allocations: 1.02 MB / 1.111 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.056, allocations: 55.97 kB / 1.111 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/1.058, allocations: 1.331 MB / 1.112 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.058, allocations: 45.7 kB / 1.112 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/1.059, allocations: 0.7697 MB / 1.113 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/1.059, allocations: 252.5 kB / 1.113 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/1.059, allocations: 206.4 kB / 1.113 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.059, allocations: 345.9 kB / 1.114 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/1.06, allocations: 352.7 kB / 1.114 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/1.061, allocations: 0.683 MB / 1.115 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/1.062, allocations: 0.9488 MB / 1.116 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.062, allocations: 4 kB / 1.116 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001896/1.064, allocations: 1.144 MB / 1.117 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.064, allocations: 10.81 kB / 1.117 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.064, allocations: 12.09 kB / 1.117 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.064, allocations: 12 kB / 1.117 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/1.065, allocations: 204 kB / 1.117 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/1.065, allocations: 19.92 kB / 1.117 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.066, allocations: 47.97 kB / 1.117 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/1.066, allocations: 43.94 kB / 1.117 GB, free: 408 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001131/1.067, allocations: 0.6854 MB / 1.118 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008458/1.068, allocations: 0.6827 MB / 1.118 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/1.069, allocations: 0.9448 MB / 1.119 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/1.069, allocations: 4 kB / 1.119 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001893/1.071, allocations: 1.148 MB / 1.121 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/1.071, allocations: 8 kB / 1.121 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.071, allocations: 8 kB / 1.121 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.071, allocations: 8 kB / 1.121 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/1.072, allocations: 207.7 kB / 1.121 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.072, allocations: 19.92 kB / 1.121 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.074, allocations: 68.27 kB / 1.121 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/1.074, allocations: 43.98 kB / 1.121 GB, free: 12.34 MB / 0.8419 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.0003249/1.074, allocations: 243.9 kB / 1.121 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/1.074, allocations: 154.1 kB / 1.121 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/1.076, allocations: 0.8124 MB / 1.122 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.076, allocations: 8 kB / 1.122 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.076, allocations: 0 / 1.122 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009628/1.077, allocations: 0.7901 MB / 1.123 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/1.08, allocations: 2.29 MB / 1.125 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.081, allocations: 4 kB / 1.125 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008575/1.081, allocations: 175.8 kB / 1.125 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/1.081, allocations: 4 kB / 1.125 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/1.081, allocations: 19.94 kB / 1.125 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/1.081, allocations: 4 kB / 1.125 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/1.081, allocations: 4.172 kB / 1.125 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.083, allocations: 1.312 MB / 1.127 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/1.084, allocations: 323.2 kB / 1.127 GB, free: 6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/1.084, allocations: 19.94 kB / 1.127 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008991/1.085, allocations: 35.88 kB / 1.127 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/1.085, allocations: 36.52 kB / 1.127 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/1.085, allocations: 39.97 kB / 1.127 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001236/1.087, allocations: 0.9003 MB / 1.128 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/1.087, allocations: 4 kB / 1.128 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001977/1.089, allocations: 0.8301 MB / 1.129 GB, free: 4.137 MB / 0.8419 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.002523/1.091, allocations: 2.023 MB / 1.131 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002204/1.093, allocations: 1.33 MB / 1.132 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.093, allocations: 1.812 kB / 1.132 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004759/1.094, allocations: 351 kB / 1.132 GB, free: 412 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.098, allocations: 0.8503 MB / 1.133 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.114, allocations: 10.62 MB / 1.143 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000963/1.115, allocations: 1.348 MB / 1.145 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001645/1.116, allocations: 408.3 kB / 1.145 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008644/1.117, allocations: 0.6125 MB / 1.146 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of SimCode: time 1.152e-06/1.117, allocations: 0 / 1.146 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08068/1.198, allocations: 41.64 MB / 1.186 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/15.02, allocations: 7.984 kB / 1.186 GB, free: 9.129 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)