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.001392/0.001392, allocations: 108 kB / 15.61 MB, free: 152 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.001433/0.001433, allocations: 194.1 kB / 16.53 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.52 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3649, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9069/1.272, allocations: 274.6 MB / 1.336 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02206/1.294, allocations: 17.36 MB / 1.353 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/1.297, allocations: 66.44 kB / 1.353 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003391/1.301, allocations: 1.164 MB / 1.355 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009822/1.311, allocations: 3.094 MB / 1.358 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005388/1.316, allocations: 2.195 MB / 1.36 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006576/1.323, allocations: 4.847 MB / 1.364 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/1.325, allocations: 1.768 MB / 1.366 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005871/1.331, allocations: 2.393 MB / 1.368 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/1.334, allocations: 1.546 MB / 1.37 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004979/1.334, allocations: 190.6 kB / 1.37 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006906/1.341, allocations: 3.013 MB / 1.373 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/1.342, allocations: 0.7254 MB / 1.374 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001808/1.344, allocations: 1.121 MB / 1.375 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007453/1.352, allocations: 3.799 MB / 1.379 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.352, allocations: 0 / 1.379 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.352, allocations: 5.875 kB / 1.379 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.124e-05/1.352, allocations: 4 kB / 1.379 GB, free: 10.6 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.004281/1.356, allocations: 2.427 MB / 1.381 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.356, allocations: 10.69 kB / 1.381 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/1.361, allocations: 0.6364 MB / 1.382 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/1.362, allocations: 1.34 MB / 1.383 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/1.363, allocations: 103.2 kB / 1.383 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/1.363, allocations: 143.8 kB / 1.383 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/1.365, allocations: 1.573 MB / 1.385 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/1.365, allocations: 11.66 kB / 1.385 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.365, allocations: 55.47 kB / 1.385 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/1.365, allocations: 45.83 kB / 1.385 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/1.367, allocations: 1.269 MB / 1.386 GB, free: 5.84 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.00732/1.374, allocations: 7.266 MB / 1.393 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.375, allocations: 0.6459 MB / 1.394 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/1.376, allocations: 371.7 kB / 1.394 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.376, allocations: 108.4 kB / 1.394 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.376, allocations: 50.59 kB / 1.394 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005812/1.377, allocations: 97.02 kB / 1.394 GB, free: 14.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=67): time 2.254e-06/1.377, allocations: 0 / 1.394 GB, free: 14.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=67): time 0.00176/1.378, allocations: 1.01 MB / 1.395 GB, free: 14.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.378, allocations: 58.34 kB / 1.395 GB, free: 14.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/1.38, allocations: 1.348 MB / 1.397 GB, free: 13.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/1.38, allocations: 49.3 kB / 1.397 GB, free: 13.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/1.381, allocations: 0.7698 MB / 1.398 GB, free: 12.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.381, allocations: 249.3 kB / 1.398 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/1.381, allocations: 198.7 kB / 1.398 GB, free: 12.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.381, allocations: 343.9 kB / 1.398 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/1.382, allocations: 357 kB / 1.399 GB, free: 11.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/1.383, allocations: 0.6824 MB / 1.399 GB, free: 11.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.384, allocations: 0.9476 MB / 1.4 GB, free: 10.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.384, allocations: 3.031 kB / 1.4 GB, free: 10.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001768/1.386, allocations: 1.156 MB / 1.401 GB, free: 10.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.386, allocations: 7.656 kB / 1.401 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.386, allocations: 8.031 kB / 1.401 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.386, allocations: 12.59 kB / 1.401 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/1.387, allocations: 209.6 kB / 1.402 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.387, allocations: 16.16 kB / 1.402 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.388, allocations: 56.88 kB / 1.402 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/1.388, allocations: 42.98 kB / 1.402 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00104/1.389, allocations: 0.6849 MB / 1.402 GB, free: 9.707 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008714/1.39, allocations: 0.6784 MB / 1.403 GB, free: 9.117 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001237/1.391, allocations: 0.9422 MB / 1.404 GB, free: 8.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/1.391, allocations: 6.281 kB / 1.404 GB, free: 8.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001691/1.393, allocations: 1.15 MB / 1.405 GB, free: 7.938 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.393, allocations: 9.938 kB / 1.405 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.393, allocations: 11.62 kB / 1.405 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.393, allocations: 11.47 kB / 1.405 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/1.394, allocations: 215.2 kB / 1.405 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/1.394, allocations: 16.19 kB / 1.405 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.395, allocations: 61.05 kB / 1.405 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/1.395, allocations: 36.69 kB / 1.405 GB, free: 7.855 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.0002715/1.396, allocations: 243.2 kB / 1.406 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/1.396, allocations: 158.3 kB / 1.406 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.397, allocations: 0.819 MB / 1.407 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.397, allocations: 10.39 kB / 1.407 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.397, allocations: 1.188 kB / 1.407 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009136/1.398, allocations: 0.7898 MB / 1.407 GB, free: 6.543 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/1.402, allocations: 2.303 MB / 1.41 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.402, allocations: 0 / 1.41 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000841/1.403, allocations: 166.9 kB / 1.41 GB, free: 4.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.403, allocations: 11.98 kB / 1.41 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/1.403, allocations: 20 kB / 1.41 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/1.403, allocations: 4 kB / 1.41 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.403, allocations: 0 / 1.41 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/1.405, allocations: 1.255 MB / 1.411 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/1.405, allocations: 327.2 kB / 1.411 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/1.405, allocations: 12 kB / 1.411 GB, free: 2.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/1.406, allocations: 38.81 kB / 1.411 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/1.406, allocations: 50.41 kB / 1.411 GB, free: 2.668 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/1.407, allocations: 31.98 kB / 1.411 GB, free: 2.637 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001267/1.408, allocations: 0.9044 MB / 1.412 GB, free: 1.734 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/1.408, allocations: 0 / 1.412 GB, free: 1.734 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002125/1.41, allocations: 0.8456 MB / 1.413 GB, free: 0.8867 MB / 1.014 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.0005337/1.411, allocations: 264.9 kB / 1.413 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002451/1.413, allocations: 1.441 MB / 1.415 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.413, allocations: 0.5 kB / 1.415 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/1.413, allocations: 358.9 kB / 1.415 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.417, allocations: 0.8317 MB / 1.416 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/1.421, allocations: 2.936 MB / 1.419 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008696/1.422, allocations: 1.344 MB / 1.42 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001539/1.424, allocations: 416.3 kB / 1.421 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/1.424, allocations: 119.3 kB / 1.421 GB, free: 9.188 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/1.424, allocations: 0 / 1.421 GB, free: 9.188 MB / 1.029 GB Notification: Performance of Templates: time 0.04516/1.469, allocations: 29.07 MB / 1.449 GB, free: 12.54 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)