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.0007548/0.0007544, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005266/0.005267, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 262.9 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9579/0.9579, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 15.28 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6269/0.7883, allocations: 268.8 MB / 0.9476 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.8093, allocations: 17.27 MB / 0.9645 GB, free: 1.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.8116, allocations: 59.62 kB / 0.9646 GB, free: 1.441 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002885/0.8145, allocations: 0.995 MB / 0.9655 GB, free: 452 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007612/0.8221, allocations: 2.923 MB / 0.9684 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005531/0.8277, allocations: 2.035 MB / 0.9704 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007995/0.8357, allocations: 6.749 MB / 0.977 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.8385, allocations: 1.426 MB / 0.9784 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007209/0.8458, allocations: 2.059 MB / 0.9804 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/0.8491, allocations: 1.519 MB / 0.9818 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.8494, allocations: 76 kB / 0.9819 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006041/0.8555, allocations: 3.398 MB / 0.9852 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008001/0.8563, allocations: 0.5996 MB / 0.9858 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.8578, allocations: 0.9968 MB / 0.9868 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005653/0.8634, allocations: 3.859 MB / 0.9906 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8635, allocations: 0 / 0.9906 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8635, allocations: 0 / 0.9906 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.78e-05/0.8635, allocations: 4 kB / 0.9906 GB, free: 6.719 MB / 0.7012 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.003463/0.867, allocations: 2.019 MB / 0.9925 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.867, allocations: 12.03 kB / 0.9926 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/0.8714, allocations: 0.6572 MB / 0.9932 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.8735, allocations: 1.339 MB / 0.9945 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.8736, allocations: 102.5 kB / 0.9946 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.8738, allocations: 143.9 kB / 0.9947 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.8763, allocations: 1.577 MB / 0.9963 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.8764, allocations: 7.938 kB / 0.9963 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.8765, allocations: 52 kB / 0.9963 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.417e-05/0.8766, allocations: 54.39 kB / 0.9964 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.8786, allocations: 1.263 MB / 0.9976 GB, free: 15.3 MB / 0.7169 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.008193/0.8868, allocations: 7.234 MB / 1.005 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.8879, allocations: 0.6582 MB / 1.005 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.8884, allocations: 370.8 kB / 1.006 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.8886, allocations: 109.6 kB / 1.006 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.8887, allocations: 47.05 kB / 1.006 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007786/0.8895, allocations: 147.1 kB / 1.006 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=67): time 3.106e-06/0.8895, allocations: 0 / 1.006 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67): time 0.001775/0.8913, allocations: 1.013 MB / 1.007 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.8913, allocations: 63.95 kB / 1.007 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.8929, allocations: 1.343 MB / 1.008 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.153e-05/0.893, allocations: 45.7 kB / 1.008 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/0.8936, allocations: 0.7737 MB / 1.009 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.8938, allocations: 244.5 kB / 1.009 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.8939, allocations: 89.66 kB / 1.009 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8941, allocations: 345.9 kB / 1.01 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.8946, allocations: 345.8 kB / 1.01 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.8955, allocations: 0.683 MB / 1.011 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.8967, allocations: 0.9528 MB / 1.012 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.8967, allocations: 4 kB / 1.012 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001702/0.8984, allocations: 1.152 MB / 1.013 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.8986, allocations: 288.1 kB / 1.013 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.8986, allocations: 8 kB / 1.013 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.8987, allocations: 12 kB / 1.013 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/0.8996, allocations: 211.7 kB / 1.013 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.8996, allocations: 19.94 kB / 1.013 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.9012, allocations: 149.6 kB / 1.013 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/0.9013, allocations: 36 kB / 1.014 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.9013, allocations: 4 kB / 1.014 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001443/0.9028, allocations: 0.9879 MB / 1.014 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.9028, allocations: 8 kB / 1.015 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9028, allocations: 12 kB / 1.015 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.9036, allocations: 207.7 kB / 1.015 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.9036, allocations: 15.94 kB / 1.015 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.9051, allocations: 137.7 kB / 1.015 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.9051, allocations: 43.98 kB / 1.015 GB, free: 12.62 MB / 0.7325 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.0008195/0.906, allocations: 0.489 MB / 1.015 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.9062, allocations: 154.1 kB / 1.016 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.9075, allocations: 0.8241 MB / 1.016 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.9075, allocations: 8 kB / 1.016 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9076, allocations: 0 / 1.016 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009276/0.9085, allocations: 0.7902 MB / 1.017 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.9117, allocations: 2.31 MB / 1.019 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9117, allocations: 4 kB / 1.019 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.9125, allocations: 159.8 kB / 1.02 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.9125, allocations: 4 kB / 1.02 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.9126, allocations: 23.98 kB / 1.02 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.9126, allocations: 4.188 kB / 1.02 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9126, allocations: 15.88 kB / 1.02 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.9142, allocations: 1.246 MB / 1.021 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.9147, allocations: 327.2 kB / 1.021 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.9149, allocations: 19.94 kB / 1.021 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9159, allocations: 91.8 kB / 1.021 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.916, allocations: 44.44 kB / 1.021 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.9161, allocations: 35.98 kB / 1.021 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001152/0.9173, allocations: 0.9083 MB / 1.022 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9173, allocations: 0 / 1.022 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001914/0.9192, allocations: 0.8456 MB / 1.023 GB, free: 4.125 MB / 0.7325 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.0005281/0.9197, allocations: 269.8 kB / 1.023 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.9217, allocations: 1.33 MB / 1.025 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.9218, allocations: 0 / 1.025 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.9222, allocations: 352.5 kB / 1.025 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/0.9265, allocations: 0.8447 MB / 1.026 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.9312, allocations: 3.645 MB / 1.029 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/0.932, allocations: 1.345 MB / 1.031 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001798/0.9338, allocations: 412.4 kB / 1.031 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.9342, allocations: 119.4 kB / 1.031 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of SimCode: time 9.01e-07/0.9342, allocations: 0 / 1.031 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.3722/1.306, allocations: 28.12 MB / 1.059 GB, free: 274.2 MB / 0.7481 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)