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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001134/0.001134, allocations: 195.1 kB / 16.14 MB, free: 6.664 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 63.61 kB / 0.9114 GB, free: 33.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3999, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.077/1.477, allocations: 272.5 MB / 1.334 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02259/1.499, allocations: 17.47 MB / 1.351 GB, free: 18.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004139/1.504, allocations: 63.19 kB / 1.351 GB, free: 18.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00404/1.508, allocations: 0.9966 MB / 1.352 GB, free: 18.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/1.519, allocations: 2.919 MB / 1.355 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006956/1.526, allocations: 2.016 MB / 1.357 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01007/1.536, allocations: 6.751 MB / 1.363 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003204/1.539, allocations: 1.493 MB / 1.365 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007948/1.547, allocations: 2.115 MB / 1.367 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004255/1.551, allocations: 1.587 MB / 1.368 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006257/1.552, allocations: 95.5 kB / 1.368 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008353/1.56, allocations: 3.425 MB / 1.372 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/1.562, allocations: 0.6357 MB / 1.372 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002104/1.564, allocations: 1.021 MB / 1.373 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008234/1.572, allocations: 3.92 MB / 1.377 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.572, allocations: 2.094 kB / 1.377 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.572, allocations: 0 / 1.377 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.892e-05/1.572, allocations: 0 / 1.377 GB, free: 10.21 MB / 0.9981 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.004866/1.577, allocations: 2.433 MB / 1.379 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.577, allocations: 16.05 kB / 1.379 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004762/1.582, allocations: 0.6394 MB / 1.38 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/1.584, allocations: 1.331 MB / 1.381 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/1.584, allocations: 100.2 kB / 1.382 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/1.585, allocations: 141.3 kB / 1.382 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/1.588, allocations: 1.578 MB / 1.383 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/1.588, allocations: 6.469 kB / 1.383 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/1.588, allocations: 56.89 kB / 1.383 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/1.588, allocations: 44.48 kB / 1.383 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/1.59, allocations: 1.275 MB / 1.385 GB, free: 5.453 MB / 0.9981 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.008836/1.599, allocations: 7.213 MB / 1.392 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.6, allocations: 0.6475 MB / 1.392 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/1.601, allocations: 369.9 kB / 1.393 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/1.601, allocations: 103.6 kB / 1.393 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/1.601, allocations: 48.44 kB / 1.393 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001252/1.602, allocations: 151.1 kB / 1.393 GB, free: 14.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=67): time 4.238e-06/1.602, allocations: 3.938 kB / 1.393 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=67): time 0.002175/1.604, allocations: 1.011 MB / 1.394 GB, free: 13.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.604, allocations: 58.12 kB / 1.394 GB, free: 13.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.606, allocations: 1.343 MB / 1.395 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/1.607, allocations: 45.45 kB / 1.395 GB, free: 13.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/1.607, allocations: 0.7805 MB / 1.396 GB, free: 12.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.607, allocations: 241.8 kB / 1.396 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/1.608, allocations: 198.3 kB / 1.396 GB, free: 12.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.608, allocations: 343.9 kB / 1.397 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/1.609, allocations: 355.5 kB / 1.397 GB, free: 11.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.61, allocations: 0.6811 MB / 1.398 GB, free: 11.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/1.611, allocations: 0.9551 MB / 1.399 GB, free: 10.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/1.611, allocations: 2.875 kB / 1.399 GB, free: 10.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002065/1.613, allocations: 1.149 MB / 1.4 GB, free: 9.766 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.613, allocations: 14.16 kB / 1.4 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.613, allocations: 7.938 kB / 1.4 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/1.613, allocations: 14.47 kB / 1.4 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/1.614, allocations: 205.8 kB / 1.4 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/1.614, allocations: 17.31 kB / 1.4 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.616, allocations: 143.5 kB / 1.4 GB, free: 9.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/1.616, allocations: 41.22 kB / 1.4 GB, free: 9.629 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001295/1.618, allocations: 0.691 MB / 1.401 GB, free: 9.215 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008836/1.619, allocations: 0.6747 MB / 1.402 GB, free: 8.617 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001278/1.62, allocations: 0.9479 MB / 1.403 GB, free: 7.949 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.077e-06/1.62, allocations: 3.938 kB / 1.403 GB, free: 7.945 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001936/1.622, allocations: 1.15 MB / 1.404 GB, free: 7.363 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.622, allocations: 8.344 kB / 1.404 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.622, allocations: 8.031 kB / 1.404 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.622, allocations: 11.53 kB / 1.404 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/1.623, allocations: 219 kB / 1.404 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/1.623, allocations: 11.44 kB / 1.404 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.625, allocations: 140.4 kB / 1.404 GB, free: 7.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/1.625, allocations: 44.11 kB / 1.404 GB, free: 7.23 MB / 1.014 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.0005057/1.625, allocations: 244.1 kB / 1.404 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/1.626, allocations: 154.2 kB / 1.404 GB, free: 6.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/1.627, allocations: 0.828 MB / 1.405 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.627, allocations: 8 kB / 1.405 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/1.627, allocations: 0 / 1.405 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/1.628, allocations: 0.7863 MB / 1.406 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/1.632, allocations: 2.305 MB / 1.408 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.632, allocations: 4 kB / 1.408 GB, free: 2.793 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/1.633, allocations: 176 kB / 1.408 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/1.633, allocations: 7.938 kB / 1.408 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/1.633, allocations: 16 kB / 1.408 GB, free: 2.598 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.633, allocations: 4 kB / 1.408 GB, free: 2.594 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.633, allocations: 4 kB / 1.408 GB, free: 2.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/1.635, allocations: 1.265 MB / 1.41 GB, free: 1.285 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/1.636, allocations: 315.3 kB / 1.41 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/1.636, allocations: 16 kB / 1.41 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.637, allocations: 91.77 kB / 1.41 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/1.638, allocations: 56.31 kB / 1.41 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/1.638, allocations: 31.98 kB / 1.41 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001409/1.639, allocations: 0.9083 MB / 1.411 GB, free: 15.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.639, allocations: 4 kB / 1.411 GB, free: 15.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002422/1.641, allocations: 0.8379 MB / 1.412 GB, free: 15.02 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.0006612/1.642, allocations: 258.6 kB / 1.412 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002499/1.645, allocations: 1.33 MB / 1.413 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.645, allocations: 4 kB / 1.413 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000509/1.645, allocations: 351.9 kB / 1.414 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/1.649, allocations: 0.8371 MB / 1.415 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/1.655, allocations: 3.517 MB / 1.418 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.656, allocations: 1.349 MB / 1.419 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002092/1.658, allocations: 412.4 kB / 1.42 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/1.658, allocations: 115.4 kB / 1.42 GB, free: 6.801 MB / 1.029 GB Notification: Performance of SimCode: time 2.114e-06/1.658, allocations: 0 / 1.42 GB, free: 6.801 MB / 1.029 GB Notification: Performance of Templates: time 0.05238/1.711, allocations: 28.1 MB / 1.447 GB, free: 11.08 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)