Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.191/2.191, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 185.6 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 105.6 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 56.47 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2834, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9401/1.224, allocations: 272.5 MB / 1.484 GB, free: 16.52 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02154/1.245, allocations: 17.47 MB / 1.501 GB, free: 16.14 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003898/1.249, allocations: 67.88 kB / 1.501 GB, free: 16.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003512/1.253, allocations: 0.9937 MB / 1.502 GB, free: 16.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.008945/1.262, allocations: 2.921 MB / 1.505 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00613/1.268, allocations: 2.007 MB / 1.507 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.008294/1.276, allocations: 6.782 MB / 1.514 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/1.279, allocations: 1.475 MB / 1.515 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00758/1.286, allocations: 2.135 MB / 1.517 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00536/1.292, allocations: 1.596 MB / 1.519 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0006126/1.292, allocations: 95.06 kB / 1.519 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/1.303, allocations: 3.422 MB / 1.522 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/1.304, allocations: 0.6348 MB / 1.523 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002553/1.306, allocations: 1.019 MB / 1.524 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.009551/1.316, allocations: 3.922 MB / 1.528 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.316, allocations: 0 / 1.528 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.933e-06/1.316, allocations: 1.344 kB / 1.528 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.602e-05/1.316, allocations: 0 / 1.528 GB, free: 13.12 MB / 0.9167 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.004947/1.321, allocations: 2.438 MB / 1.53 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.321, allocations: 14.17 kB / 1.53 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004206/1.325, allocations: 0.6388 MB / 1.531 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/1.328, allocations: 1.34 MB / 1.532 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/1.328, allocations: 105.3 kB / 1.532 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/1.328, allocations: 134.2 kB / 1.532 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/1.33, allocations: 1.577 MB / 1.534 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/1.33, allocations: 3.219 kB / 1.534 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/1.331, allocations: 57.72 kB / 1.534 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.077e-05/1.331, allocations: 47.14 kB / 1.534 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/1.333, allocations: 1.27 MB / 1.535 GB, free: 8.973 MB / 0.9167 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.008129/1.341, allocations: 7.218 MB / 1.542 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/1.342, allocations: 0.647 MB / 1.543 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/1.342, allocations: 373.3 kB / 1.543 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/1.342, allocations: 108.6 kB / 1.543 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.342, allocations: 43.44 kB / 1.543 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009828/1.343, allocations: 144.5 kB / 1.543 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=67): time 3.206e-06/1.343, allocations: 3.938 kB / 1.543 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of matching and sorting (n=67): time 0.001699/1.345, allocations: 1.02 MB / 1.544 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/1.345, allocations: 62.38 kB / 1.545 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/1.347, allocations: 1.342 MB / 1.546 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/1.347, allocations: 45.7 kB / 1.546 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/1.347, allocations: 0.7677 MB / 1.547 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.348, allocations: 249.2 kB / 1.547 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/1.348, allocations: 204.5 kB / 1.547 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.348, allocations: 349 kB / 1.547 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/1.349, allocations: 352.8 kB / 1.548 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/1.35, allocations: 0.682 MB / 1.548 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.351, allocations: 0.9574 MB / 1.549 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.351, allocations: 2.688 kB / 1.549 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001995/1.353, allocations: 1.149 MB / 1.55 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.353, allocations: 5.5 kB / 1.55 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.353, allocations: 7.969 kB / 1.55 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/1.353, allocations: 12.31 kB / 1.55 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/1.354, allocations: 217.2 kB / 1.551 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/1.354, allocations: 18.02 kB / 1.551 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/1.356, allocations: 132.6 kB / 1.551 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/1.356, allocations: 45.27 kB / 1.551 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001246/1.357, allocations: 0.6869 MB / 1.552 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008098/1.358, allocations: 0.6862 MB / 1.552 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001282/1.359, allocations: 0.9403 MB / 1.553 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/1.359, allocations: 6.844 kB / 1.553 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001868/1.361, allocations: 1.142 MB / 1.554 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.361, allocations: 9.062 kB / 1.554 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.361, allocations: 6.484 kB / 1.554 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.361, allocations: 14.98 kB / 1.554 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/1.362, allocations: 211.8 kB / 1.554 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.362, allocations: 14.38 kB / 1.554 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/1.364, allocations: 156.8 kB / 1.555 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/1.364, allocations: 40 kB / 1.555 GB, free: 10.75 MB / 0.9323 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.0003398/1.364, allocations: 244.2 kB / 1.555 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.365, allocations: 158.1 kB / 1.555 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/1.366, allocations: 0.8266 MB / 1.556 GB, free: 9.527 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.366, allocations: 11.94 kB / 1.556 GB, free: 9.516 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.366, allocations: 3.984 kB / 1.556 GB, free: 9.512 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/1.367, allocations: 0.7863 MB / 1.557 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/1.371, allocations: 2.3 MB / 1.559 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.371, allocations: 0 / 1.559 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/1.372, allocations: 163.5 kB / 1.559 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/1.372, allocations: 4 kB / 1.559 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/1.372, allocations: 28.17 kB / 1.559 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/1.372, allocations: 4 kB / 1.559 GB, free: 6.137 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.372, allocations: 2.531 kB / 1.559 GB, free: 6.137 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.383, allocations: 6.074 MB / 1.565 GB, free: 15.87 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/1.383, allocations: 315.2 kB / 1.565 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.383, allocations: 19.94 kB / 1.565 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.384, allocations: 98.19 kB / 1.565 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/1.385, allocations: 40.52 kB / 1.565 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/1.385, allocations: 31.97 kB / 1.566 GB, free: 15.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001289/1.386, allocations: 0.9122 MB / 1.566 GB, free: 14.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.172e-06/1.386, allocations: 0 / 1.566 GB, free: 14.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004522/1.391, allocations: 1.313 MB / 1.568 GB, free: 13.13 MB / 0.948 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.0007455/1.391, allocations: 271.7 kB / 1.568 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002335/1.394, allocations: 1.329 MB / 1.569 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.394, allocations: 4 kB / 1.569 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005084/1.394, allocations: 349.9 kB / 1.57 GB, free: 11.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/1.399, allocations: 0.8439 MB / 1.57 GB, free: 10.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005859/1.405, allocations: 3.953 MB / 1.574 GB, free: 6.441 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.406, allocations: 1.376 MB / 1.576 GB, free: 5.039 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002086/1.408, allocations: 428.4 kB / 1.576 GB, free: 4.613 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/1.408, allocations: 123.4 kB / 1.576 GB, free: 4.492 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/1.408, allocations: 0 / 1.576 GB, free: 4.492 MB / 0.948 GB Notification: Performance of Templates: time 0.05267/1.461, allocations: 30.11 MB / 1.606 GB, free: 6.793 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)