Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.638/2.638, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001629/0.001629, allocations: 184.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.325/2.325, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001544/0.001544, allocations: 89.11 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006371/0.0006374, allocations: 11.09 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2145, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.028/1.243, allocations: 223.7 MB / 1.197 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03294/1.276, allocations: 15.74 MB / 1.212 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/1.279, allocations: 52.19 kB / 1.212 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00513/1.284, allocations: 1.001 MB / 1.213 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01405/1.298, allocations: 2.948 MB / 1.216 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009122/1.307, allocations: 1.775 MB / 1.218 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007678/1.315, allocations: 2.698 MB / 1.22 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/1.319, allocations: 1.326 MB / 1.222 GB, free: 136 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006268/1.325, allocations: 1.589 MB / 1.223 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/1.328, allocations: 0.9337 MB / 1.224 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007133/1.329, allocations: 79.98 kB / 1.224 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006297/1.335, allocations: 1.318 MB / 1.225 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/1.337, allocations: 0.5453 MB / 1.226 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/1.338, allocations: 432.7 kB / 1.226 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006155/1.345, allocations: 2.447 MB / 1.229 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.345, allocations: 0 / 1.229 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.575e-06/1.345, allocations: 0 / 1.229 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001024/1.345, allocations: 0 / 1.229 GB, free: 8.773 MB / 0.7605 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.006553/1.351, allocations: 1.996 MB / 1.231 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.351, allocations: 12.03 kB / 1.231 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007382/1.352, allocations: 190.1 kB / 1.231 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007951/1.36, allocations: 0.6572 MB / 1.232 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/1.364, allocations: 1.265 MB / 1.233 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/1.365, allocations: 98.55 kB / 1.233 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004572/1.365, allocations: 143.9 kB / 1.233 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004884/1.37, allocations: 1.55 MB / 1.235 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.99e-05/1.37, allocations: 3.984 kB / 1.235 GB, free: 2.664 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/1.37, allocations: 60 kB / 1.235 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.028e-05/1.37, allocations: 46.41 kB / 1.235 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004243/1.375, allocations: 1.259 MB / 1.236 GB, free: 1.293 MB / 0.7605 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.01619/1.391, allocations: 7.214 MB / 1.243 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/1.393, allocations: 0.6489 MB / 1.244 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/1.393, allocations: 12.56 kB / 1.244 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/1.393, allocations: 47.06 kB / 1.244 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001335/1.394, allocations: 147 kB / 1.244 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=67): time 5.62e-06/1.394, allocations: 4 kB / 1.244 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of matching and sorting (n=67): time 0.003588/1.398, allocations: 1.009 MB / 1.245 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/1.398, allocations: 59.97 kB / 1.245 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/1.401, allocations: 1.319 MB / 1.246 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002819/1.402, allocations: 45.7 kB / 1.246 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/1.403, allocations: 0.7736 MB / 1.247 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/1.403, allocations: 244.5 kB / 1.247 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/1.403, allocations: 24 kB / 1.247 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.404, allocations: 345.9 kB / 1.248 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/1.405, allocations: 341.8 kB / 1.248 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.406, allocations: 0.6673 MB / 1.249 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/1.408, allocations: 458.8 kB / 1.249 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/1.408, allocations: 0 / 1.249 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003358/1.411, allocations: 1.144 MB / 1.25 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001326/1.412, allocations: 2.679 MB / 1.253 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/1.412, allocations: 8 kB / 1.253 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.975e-05/1.412, allocations: 12 kB / 1.253 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.414, allocations: 204 kB / 1.253 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.097e-05/1.415, allocations: 19.94 kB / 1.253 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/1.418, allocations: 125.3 kB / 1.253 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/1.418, allocations: 47.92 kB / 1.253 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.418, allocations: 4 kB / 1.253 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002797/1.421, allocations: 0.9716 MB / 1.254 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.421, allocations: 9.609 kB / 1.254 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.421, allocations: 15.95 kB / 1.254 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/1.423, allocations: 207.7 kB / 1.254 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/1.423, allocations: 19.92 kB / 1.254 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/1.426, allocations: 135.5 kB / 1.254 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/1.426, allocations: 40 kB / 1.254 GB, free: 13.41 MB / 0.7917 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.001278/1.427, allocations: 496.7 kB / 1.255 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/1.428, allocations: 146.2 kB / 1.255 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/1.43, allocations: 0.824 MB / 1.256 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.43, allocations: 8 kB / 1.256 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.43, allocations: 0 / 1.256 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001789/1.432, allocations: 0.7823 MB / 1.257 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/1.439, allocations: 2.29 MB / 1.259 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.439, allocations: 0 / 1.259 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.44, allocations: 171.8 kB / 1.259 GB, free: 8.551 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/1.44, allocations: 8.188 kB / 1.259 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/1.44, allocations: 16 kB / 1.259 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/1.44, allocations: 11.92 kB / 1.259 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.44, allocations: 0 / 1.259 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/1.444, allocations: 1.394 MB / 1.26 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.445, allocations: 319.2 kB / 1.261 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003755/1.445, allocations: 20.12 kB / 1.261 GB, free: 6.691 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.448, allocations: 96.75 kB / 1.261 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.448, allocations: 44.45 kB / 1.261 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.448, allocations: 35.97 kB / 1.261 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002145/1.45, allocations: 0.8847 MB / 1.262 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.016e-06/1.45, allocations: 0 / 1.262 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003534/1.454, allocations: 0.8572 MB / 1.263 GB, free: 4.777 MB / 0.7917 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.004502/1.458, allocations: 2.473 MB / 1.265 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003931/1.462, allocations: 1.318 MB / 1.266 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.462, allocations: 1.875 kB / 1.266 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009298/1.463, allocations: 343 kB / 1.267 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007298/1.47, allocations: 0.8287 MB / 1.267 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.484, allocations: 8.918 MB / 1.276 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.485, allocations: 1.38 MB / 1.278 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003147/1.488, allocations: 416.4 kB / 1.278 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/1.49, allocations: 0.6125 MB / 1.279 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of SimCode: time 3.427e-06/1.49, allocations: 3.938 kB / 1.279 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/1.624, allocations: 40.54 MB / 1.318 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003465/1.624, allocations: 233.8 kB / 1.318 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.027/5.651, allocations: 0 / 1.318 GB, free: 11.78 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)