Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00572/0.00572, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001385/0.001385, allocations: 196 kB / 16.67 MB, free: 6.352 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 278.5 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9219/0.9219, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 100.2 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1668, allocations: 86.98 MB / 0.7664 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6419/0.8087, allocations: 274.6 MB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02298/0.8318, allocations: 17.38 MB / 1.052 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.834, allocations: 67.62 kB / 1.052 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.8371, allocations: 1.161 MB / 1.053 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007593/0.8447, allocations: 3.1 MB / 1.056 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.8502, allocations: 2.21 MB / 1.058 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006412/0.8566, allocations: 4.848 MB / 1.063 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.8594, allocations: 1.764 MB / 1.064 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005353/0.8647, allocations: 2.412 MB / 1.067 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.8674, allocations: 1.536 MB / 1.068 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.8677, allocations: 191.9 kB / 1.068 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005803/0.8735, allocations: 3.016 MB / 1.071 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.8744, allocations: 0.7246 MB / 1.072 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.8759, allocations: 1.124 MB / 1.073 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.8815, allocations: 3.847 MB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8815, allocations: 0 / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8815, allocations: 0 / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.206e-05/0.8816, allocations: 0 / 1.077 GB, free: 4.262 MB / 0.8262 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.003942/0.8855, allocations: 2.498 MB / 1.079 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.8855, allocations: 8.031 kB / 1.079 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.8897, allocations: 0.6466 MB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.8919, allocations: 1.425 MB / 1.081 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.892, allocations: 98.55 kB / 1.081 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.8922, allocations: 139.9 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.8946, allocations: 1.565 MB / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.8947, allocations: 0 / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.8948, allocations: 56 kB / 1.083 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.8949, allocations: 54.33 kB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.8969, allocations: 1.267 MB / 1.084 GB, free: 12.3 MB / 0.8419 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.007983/0.9049, allocations: 7.224 MB / 1.092 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.906, allocations: 0.6496 MB / 1.092 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.9065, allocations: 370.1 kB / 1.093 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.9067, allocations: 109.6 kB / 1.093 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.9067, allocations: 43.12 kB / 1.093 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000464/0.9072, allocations: 99.39 kB / 1.093 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=67): time 2.775e-06/0.9072, allocations: 0 / 1.093 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67): time 0.001811/0.909, allocations: 1.017 MB / 1.094 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.9091, allocations: 59.97 kB / 1.094 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.9106, allocations: 1.347 MB / 1.095 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/0.9107, allocations: 57.62 kB / 1.095 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.3289/1.24, allocations: 0.779 MB / 1.096 GB, free: 294 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/1.24, allocations: 252 kB / 1.096 GB, free: 294 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/1.24, allocations: 206.3 kB / 1.096 GB, free: 294 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/1.241, allocations: 344.2 kB / 1.097 GB, free: 293.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/1.241, allocations: 361 kB / 1.097 GB, free: 293.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/1.242, allocations: 0.6845 MB / 1.098 GB, free: 293.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.243, allocations: 0.9475 MB / 1.099 GB, free: 293.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.243, allocations: 2.438 kB / 1.099 GB, free: 293.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001845/1.245, allocations: 1.162 MB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.245, allocations: 7.344 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.245, allocations: 8.375 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/1.245, allocations: 11.12 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/1.246, allocations: 214.1 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/1.246, allocations: 16.61 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.247, allocations: 47.09 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/1.247, allocations: 42.73 kB / 1.1 GB, free: 292.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/1.248, allocations: 0.6861 MB / 1.101 GB, free: 292.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006971/1.249, allocations: 0.6768 MB / 1.101 GB, free: 291.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00135/1.25, allocations: 0.9579 MB / 1.102 GB, free: 291.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.199e-06/1.251, allocations: 2.562 kB / 1.102 GB, free: 291.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001709/1.252, allocations: 1.152 MB / 1.104 GB, free: 290.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.252, allocations: 15.17 kB / 1.104 GB, free: 290.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.252, allocations: 7.625 kB / 1.104 GB, free: 290.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.252, allocations: 11.59 kB / 1.104 GB, free: 290.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/1.253, allocations: 206.9 kB / 1.104 GB, free: 290.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.253, allocations: 16.47 kB / 1.104 GB, free: 290.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.254, allocations: 54.48 kB / 1.104 GB, free: 290.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/1.254, allocations: 45.62 kB / 1.104 GB, free: 290.6 MB / 0.8419 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.0002373/1.255, allocations: 246 kB / 1.104 GB, free: 290.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/1.255, allocations: 158.5 kB / 1.104 GB, free: 290.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.256, allocations: 0.8287 MB / 1.105 GB, free: 289.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.256, allocations: 5.719 kB / 1.105 GB, free: 289.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.256, allocations: 3.938 kB / 1.105 GB, free: 289.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007935/1.257, allocations: 0.7873 MB / 1.106 GB, free: 289.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/1.26, allocations: 2.309 MB / 1.108 GB, free: 288.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.26, allocations: 0 / 1.108 GB, free: 288.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/1.261, allocations: 169.6 kB / 1.108 GB, free: 288.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/1.261, allocations: 4.594 kB / 1.108 GB, free: 288.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/1.261, allocations: 20.52 kB / 1.108 GB, free: 288.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.261, allocations: 3.5 kB / 1.108 GB, free: 288.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.261, allocations: 0 / 1.108 GB, free: 288.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/1.262, allocations: 1.271 MB / 1.11 GB, free: 287.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/1.262, allocations: 328.5 kB / 1.11 GB, free: 287.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.263, allocations: 18.34 kB / 1.11 GB, free: 287.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/1.263, allocations: 32.83 kB / 1.11 GB, free: 287.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/1.264, allocations: 45.45 kB / 1.11 GB, free: 287.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/1.264, allocations: 29.36 kB / 1.11 GB, free: 287.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001093/1.265, allocations: 0.9192 MB / 1.111 GB, free: 287 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/1.265, allocations: 0 / 1.111 GB, free: 287 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001673/1.266, allocations: 0.8403 MB / 1.112 GB, free: 286.9 MB / 0.8419 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.0004766/1.267, allocations: 263.6 kB / 1.112 GB, free: 286.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.269, allocations: 1.333 MB / 1.113 GB, free: 286.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.269, allocations: 4.344 kB / 1.113 GB, free: 286.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/1.269, allocations: 353.4 kB / 1.114 GB, free: 286.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/1.273, allocations: 0.8366 MB / 1.114 GB, free: 286 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/1.278, allocations: 2.944 MB / 1.117 GB, free: 284.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/1.279, allocations: 1.348 MB / 1.119 GB, free: 283.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001571/1.28, allocations: 420.1 kB / 1.119 GB, free: 283.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/1.28, allocations: 111.7 kB / 1.119 GB, free: 283.7 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/1.28, allocations: 0 / 1.119 GB, free: 283.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.04516/1.326, allocations: 29.29 MB / 1.148 GB, free: 273.5 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)