Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 175.9 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 98.16 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 11 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7872/1.021, allocations: 224.2 MB / 1.119 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02106/1.042, allocations: 15.87 MB / 1.135 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/1.045, allocations: 53.22 kB / 1.135 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00397/1.049, allocations: 1.015 MB / 1.136 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01347/1.062, allocations: 3.008 MB / 1.139 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006839/1.069, allocations: 1.82 MB / 1.14 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006646/1.076, allocations: 2.808 MB / 1.143 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/1.079, allocations: 1.362 MB / 1.144 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/1.084, allocations: 1.638 MB / 1.146 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/1.087, allocations: 0.9523 MB / 1.147 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005638/1.088, allocations: 77.88 kB / 1.147 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/1.093, allocations: 1.316 MB / 1.148 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/1.094, allocations: 0.5691 MB / 1.149 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/1.095, allocations: 431.4 kB / 1.149 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004072/1.1, allocations: 2.513 MB / 1.152 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.1, allocations: 4 kB / 1.152 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.644e-06/1.1, allocations: 0 / 1.152 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.44e-05/1.1, allocations: 0 / 1.152 GB, free: 16.73 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003838/1.103, allocations: 1.995 MB / 1.154 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.104, allocations: 10.78 kB / 1.154 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003521/1.104, allocations: 200.2 kB / 1.154 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0044/1.108, allocations: 0.6483 MB / 1.154 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/1.111, allocations: 1.274 MB / 1.156 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/1.111, allocations: 106.7 kB / 1.156 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/1.112, allocations: 138.1 kB / 1.156 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/1.114, allocations: 1.589 MB / 1.158 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/1.114, allocations: 10.62 kB / 1.158 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/1.115, allocations: 58.23 kB / 1.158 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/1.115, allocations: 50.19 kB / 1.158 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/1.117, allocations: 1.263 MB / 1.159 GB, free: 13.78 MB / 0.7136 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.009951/1.127, allocations: 7.232 MB / 1.166 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009155/1.128, allocations: 0.6216 MB / 1.167 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/1.128, allocations: 17.31 kB / 1.167 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/1.128, allocations: 47.23 kB / 1.167 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008897/1.129, allocations: 146.1 kB / 1.167 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 3.347e-06/1.129, allocations: 0 / 1.167 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.001698/1.13, allocations: 0.9959 MB / 1.168 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/1.13, allocations: 61.59 kB / 1.168 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/1.132, allocations: 1.33 MB / 1.169 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/1.132, allocations: 44.33 kB / 1.169 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/1.133, allocations: 0.7657 MB / 1.17 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/1.133, allocations: 237.1 kB / 1.17 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/1.133, allocations: 21.38 kB / 1.17 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.133, allocations: 342.2 kB / 1.17 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/1.134, allocations: 336 kB / 1.171 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/1.134, allocations: 0.6347 MB / 1.171 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/1.135, allocations: 445.5 kB / 1.172 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.135, allocations: 2.812 kB / 1.172 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001737/1.137, allocations: 1.133 MB / 1.173 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00113/1.138, allocations: 2.836 MB / 1.176 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.138, allocations: 9.094 kB / 1.176 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/1.138, allocations: 12.78 kB / 1.176 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008703/1.139, allocations: 212.2 kB / 1.176 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/1.139, allocations: 17.92 kB / 1.176 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.141, allocations: 142.2 kB / 1.176 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/1.141, allocations: 43.27 kB / 1.176 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/1.141, allocations: 5.344 kB / 1.176 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/1.142, allocations: 0.9677 MB / 1.177 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.142, allocations: 5.25 kB / 1.177 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.142, allocations: 22.33 kB / 1.177 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/1.143, allocations: 208.8 kB / 1.177 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/1.143, allocations: 23.11 kB / 1.177 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.145, allocations: 127.9 kB / 1.177 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/1.145, allocations: 35.53 kB / 1.177 GB, free: 3.168 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0008672/1.145, allocations: 0.5038 MB / 1.178 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/1.146, allocations: 150.2 kB / 1.178 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/1.147, allocations: 0.8097 MB / 1.179 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/1.147, allocations: 5.844 kB / 1.179 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.147, allocations: 3.094 kB / 1.179 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008846/1.148, allocations: 0.7752 MB / 1.18 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/1.152, allocations: 2.296 MB / 1.182 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.152, allocations: 2.906 kB / 1.182 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/1.153, allocations: 180.5 kB / 1.182 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/1.153, allocations: 5.547 kB / 1.182 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/1.153, allocations: 17.38 kB / 1.182 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/1.153, allocations: 10.52 kB / 1.182 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.153, allocations: 2.625 kB / 1.182 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/1.155, allocations: 1.381 MB / 1.183 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008507/1.155, allocations: 335.9 kB / 1.184 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/1.156, allocations: 17.62 kB / 1.184 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.157, allocations: 108.1 kB / 1.184 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/1.157, allocations: 44.33 kB / 1.184 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/1.157, allocations: 35.42 kB / 1.184 GB, free: 268 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001364/1.158, allocations: 0.896 MB / 1.185 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/1.158, allocations: 4 kB / 1.185 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002326/1.161, allocations: 0.8525 MB / 1.186 GB, free: 14.8 MB / 0.7292 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.003051/1.164, allocations: 2.481 MB / 1.188 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002652/1.166, allocations: 1.295 MB / 1.189 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.166, allocations: 320 / 1.189 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/1.167, allocations: 352 kB / 1.19 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/1.171, allocations: 0.8356 MB / 1.19 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009223/1.181, allocations: 9.222 MB / 1.199 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.182, allocations: 1.387 MB / 1.201 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002151/1.184, allocations: 416.2 kB / 1.201 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/1.185, allocations: 0.612 MB / 1.202 GB, free: 4 kB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/1.185, allocations: 0 / 1.202 GB, free: 4 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07372/1.259, allocations: 40.56 MB / 1.241 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/1.259, allocations: 240.3 kB / 1.242 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.115/4.374, allocations: 0 / 1.242 GB, free: 7.633 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)