Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.0008254, allocations: 97.64 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.00669/0.00669, allocations: 171.4 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004384, allocations: 10.84 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4295, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.147/1.576, allocations: 268.8 MB / 1.337 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02625/1.603, allocations: 17.28 MB / 1.354 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003585/1.606, allocations: 61.53 kB / 1.354 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/1.61, allocations: 0.9956 MB / 1.355 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009956/1.62, allocations: 2.927 MB / 1.357 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006009/1.626, allocations: 2.016 MB / 1.359 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008707/1.635, allocations: 6.75 MB / 1.366 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/1.637, allocations: 1.437 MB / 1.367 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007256/1.645, allocations: 2.056 MB / 1.369 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004141/1.649, allocations: 1.526 MB / 1.371 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003953/1.649, allocations: 75.16 kB / 1.371 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007481/1.657, allocations: 3.396 MB / 1.374 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009562/1.658, allocations: 0.6031 MB / 1.375 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001815/1.66, allocations: 0.9937 MB / 1.376 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00693/1.666, allocations: 3.864 MB / 1.38 GB, free: 14.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.666, allocations: 4 kB / 1.38 GB, free: 14.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.913e-06/1.667, allocations: 0 / 1.38 GB, free: 14.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.386e-05/1.667, allocations: 0 / 1.38 GB, free: 14.68 MB / 1.014 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.00374/1.67, allocations: 2.034 MB / 1.382 GB, free: 13.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.67, allocations: 19.47 kB / 1.382 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/1.675, allocations: 0.6541 MB / 1.382 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/1.677, allocations: 1.332 MB / 1.384 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/1.677, allocations: 104.7 kB / 1.384 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/1.677, allocations: 136.7 kB / 1.384 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/1.68, allocations: 1.573 MB / 1.385 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/1.68, allocations: 5.156 kB / 1.385 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.68, allocations: 58.47 kB / 1.385 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/1.68, allocations: 45.98 kB / 1.385 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/1.682, allocations: 1.271 MB / 1.387 GB, free: 10.18 MB / 1.014 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.008955/1.691, allocations: 7.223 MB / 1.394 GB, free: 3.953 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/1.692, allocations: 0.6489 MB / 1.394 GB, free: 3.605 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/1.693, allocations: 369.1 kB / 1.395 GB, free: 3.422 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/1.693, allocations: 105.8 kB / 1.395 GB, free: 3.324 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.693, allocations: 44.22 kB / 1.395 GB, free: 3.277 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007173/1.694, allocations: 144.5 kB / 1.395 GB, free: 3.195 MB / 1.014 GB Notification: Performance of pre-optimization done (n=67): time 5.641e-06/1.694, allocations: 4.047 kB / 1.395 GB, free: 3.191 MB / 1.014 GB Notification: Performance of matching and sorting (n=67): time 0.001862/1.696, allocations: 1.019 MB / 1.396 GB, free: 2.676 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/1.696, allocations: 57.19 kB / 1.396 GB, free: 2.613 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/1.697, allocations: 1.345 MB / 1.397 GB, free: 1.883 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/1.698, allocations: 46.14 kB / 1.397 GB, free: 1.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/1.698, allocations: 0.7812 MB / 1.398 GB, free: 1.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/1.698, allocations: 232.9 kB / 1.398 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.699, allocations: 91.86 kB / 1.398 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.699, allocations: 350.7 kB / 1.399 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/1.699, allocations: 347.7 kB / 1.399 GB, free: 396 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/1.7, allocations: 0.6788 MB / 1.4 GB, free: 15.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/1.702, allocations: 0.9522 MB / 1.401 GB, free: 15.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.702, allocations: 1.875 kB / 1.401 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001865/1.703, allocations: 1.149 MB / 1.402 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/1.704, allocations: 293.5 kB / 1.402 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.704, allocations: 9.344 kB / 1.402 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/1.704, allocations: 12.53 kB / 1.402 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/1.705, allocations: 207.5 kB / 1.402 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/1.705, allocations: 18.75 kB / 1.402 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.706, allocations: 144.3 kB / 1.403 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/1.706, allocations: 42.38 kB / 1.403 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/1.706, allocations: 2.938 kB / 1.403 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00152/1.708, allocations: 0.9875 MB / 1.404 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.708, allocations: 10.11 kB / 1.404 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.708, allocations: 12.03 kB / 1.404 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/1.709, allocations: 208.3 kB / 1.404 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.709, allocations: 16.88 kB / 1.404 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.71, allocations: 132.6 kB / 1.404 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/1.71, allocations: 43.95 kB / 1.404 GB, free: 13.57 MB / 1.029 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.001039/1.711, allocations: 0.4913 MB / 1.404 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/1.712, allocations: 153.1 kB / 1.405 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/1.713, allocations: 0.8244 MB / 1.405 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.713, allocations: 10.94 kB / 1.405 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.713, allocations: 0 / 1.405 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/1.714, allocations: 0.7892 MB / 1.406 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/1.718, allocations: 2.309 MB / 1.408 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.718, allocations: 0 / 1.408 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/1.719, allocations: 163.4 kB / 1.409 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.719, allocations: 10.75 kB / 1.409 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/1.719, allocations: 22.02 kB / 1.409 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/1.719, allocations: 6.844 kB / 1.409 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.719, allocations: 3 kB / 1.409 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/1.721, allocations: 1.258 MB / 1.41 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000533/1.721, allocations: 324.7 kB / 1.41 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.721, allocations: 20.47 kB / 1.41 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.722, allocations: 95.33 kB / 1.41 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/1.723, allocations: 43.25 kB / 1.41 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.142e-05/1.723, allocations: 33.33 kB / 1.41 GB, free: 9.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001327/1.724, allocations: 0.9065 MB / 1.411 GB, free: 8.871 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.51e-07/1.724, allocations: 3.531 kB / 1.411 GB, free: 8.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0021/1.726, allocations: 0.8361 MB / 1.412 GB, free: 8.73 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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.0006295/1.727, allocations: 266.1 kB / 1.412 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002098/1.729, allocations: 1.331 MB / 1.414 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.729, allocations: 0 / 1.414 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004706/1.729, allocations: 349.7 kB / 1.414 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004254/1.734, allocations: 0.8441 MB / 1.415 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005392/1.739, allocations: 3.649 MB / 1.418 GB, free: 3.785 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.74, allocations: 1.349 MB / 1.42 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001711/1.742, allocations: 420.4 kB / 1.42 GB, free: 1.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/1.742, allocations: 119.4 kB / 1.42 GB, free: 1.875 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/1.742, allocations: 0 / 1.42 GB, free: 1.875 MB / 1.029 GB Notification: Performance of Templates: time 0.05331/1.796, allocations: 28.12 MB / 1.448 GB, free: 6.18 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)