Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001088/0.001088, allocations: 106.1 kB / 15.99 MB, free: 6.328 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.00115/0.00115, allocations: 195.7 kB / 16.91 MB, free: 6.176 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.784/0.784, allocations: 122.9 MB / 413.6 MB, free: 12 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.4906 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4062, allocations: 77.93 MB / 0.5667 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6185/1.025, allocations: 271.4 MB / 0.8317 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02332/1.048, allocations: 17.24 MB / 0.8486 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/1.051, allocations: 60.31 kB / 0.8486 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003061/1.055, allocations: 1.032 MB / 0.8496 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008822/1.063, allocations: 2.915 MB / 0.8525 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005782/1.069, allocations: 2.038 MB / 0.8545 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006396/1.076, allocations: 4.856 MB / 0.8592 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/1.078, allocations: 1.73 MB / 0.8609 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00644/1.085, allocations: 2.416 MB / 0.8633 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003184/1.088, allocations: 1.64 MB / 0.8649 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003931/1.088, allocations: 192 kB / 0.865 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006025/1.094, allocations: 3.137 MB / 0.8681 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/1.095, allocations: 0.7276 MB / 0.8688 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/1.097, allocations: 1.124 MB / 0.8699 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008165/1.105, allocations: 4.004 MB / 0.8738 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.105, allocations: 3 kB / 0.8738 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/1.105, allocations: 4 kB / 0.8738 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.232e-05/1.106, allocations: 0 / 0.8738 GB, free: 10.71 MB / 0.5919 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.004535/1.11, allocations: 2.431 MB / 0.8762 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.11, allocations: 12.62 kB / 0.8762 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/1.115, allocations: 0.6331 MB / 0.8768 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/1.117, allocations: 1.343 MB / 0.8781 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.777e-05/1.117, allocations: 102.5 kB / 0.8782 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/1.118, allocations: 136 kB / 0.8784 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/1.12, allocations: 1.571 MB / 0.8799 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/1.12, allocations: 7 kB / 0.8799 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/1.12, allocations: 58.73 kB / 0.88 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-05/1.121, allocations: 50.44 kB / 0.88 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/1.123, allocations: 1.267 MB / 0.8813 GB, free: 3.023 MB / 0.5919 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.009244/1.132, allocations: 7.216 MB / 0.8883 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/1.133, allocations: 0.6442 MB / 0.8889 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/1.134, allocations: 374.1 kB / 0.8893 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/1.134, allocations: 113.2 kB / 0.8894 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/1.134, allocations: 43.12 kB / 0.8894 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008497/1.135, allocations: 123.1 kB / 0.8896 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=67): time 3.046e-06/1.135, allocations: 0 / 0.8896 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67): time 0.001906/1.137, allocations: 1.019 MB / 0.8905 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/1.137, allocations: 59.97 kB / 0.8906 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/1.138, allocations: 1.343 MB / 0.8919 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/1.139, allocations: 46.72 kB / 0.892 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/1.139, allocations: 0.7737 MB / 0.8927 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/1.139, allocations: 239 kB / 0.8929 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/1.14, allocations: 210.3 kB / 0.8931 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.14, allocations: 350 kB / 0.8935 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/1.14, allocations: 360.6 kB / 0.8938 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/1.141, allocations: 0.6813 MB / 0.8945 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/1.143, allocations: 0.9491 MB / 0.8954 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.143, allocations: 4 kB / 0.8954 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001769/1.144, allocations: 1.143 MB / 0.8965 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.144, allocations: 8 kB / 0.8965 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.144, allocations: 12.78 kB / 0.8966 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/1.144, allocations: 23.92 kB / 0.8966 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/1.145, allocations: 211.7 kB / 0.8968 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/1.145, allocations: 15.94 kB / 0.8968 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.147, allocations: 129.8 kB / 0.8969 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/1.147, allocations: 43.98 kB / 0.897 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001062/1.148, allocations: 0.6902 MB / 0.8976 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008122/1.149, allocations: 0.6752 MB / 0.8983 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001231/1.15, allocations: 0.9488 MB / 0.8992 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.648e-06/1.15, allocations: 8 kB / 0.8992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00168/1.152, allocations: 1.156 MB / 0.9004 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.152, allocations: 9.25 kB / 0.9004 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.152, allocations: 4 kB / 0.9004 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/1.152, allocations: 12 kB / 0.9004 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/1.153, allocations: 211.7 kB / 0.9006 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.153, allocations: 15.94 kB / 0.9006 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.154, allocations: 141 kB / 0.9007 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/1.154, allocations: 43.98 kB / 0.9008 GB, free: 14.07 MB / 0.6231 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.0002752/1.155, allocations: 242.8 kB / 0.901 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/1.155, allocations: 150.2 kB / 0.9011 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/1.156, allocations: 0.8279 MB / 0.902 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.156, allocations: 8 kB / 0.902 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.156, allocations: 0 / 0.902 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/1.157, allocations: 0.7901 MB / 0.9027 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/1.161, allocations: 2.301 MB / 0.905 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.161, allocations: 4 kB / 0.905 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/1.162, allocations: 163.8 kB / 0.9051 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/1.162, allocations: 4.188 kB / 0.9051 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/1.162, allocations: 24 kB / 0.9052 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/1.162, allocations: 4 kB / 0.9052 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.162, allocations: 4 kB / 0.9052 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/1.164, allocations: 1.257 MB / 0.9064 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005669/1.164, allocations: 319.3 kB / 0.9067 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/1.165, allocations: 12 kB / 0.9067 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.166, allocations: 107.8 kB / 0.9068 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.166, allocations: 44.44 kB / 0.9069 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-05/1.166, allocations: 39.97 kB / 0.9069 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001537/1.167, allocations: 0.9044 MB / 0.9078 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.167, allocations: 0 / 0.9078 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002224/1.17, allocations: 0.8522 MB / 0.9086 GB, free: 5.844 MB / 0.6231 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.0006142/1.17, allocations: 259 kB / 0.9089 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002606/1.173, allocations: 1.439 MB / 0.9103 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.173, allocations: 0 / 0.9103 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/1.173, allocations: 356.5 kB / 0.9106 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/1.177, allocations: 0.8357 MB / 0.9114 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/1.183, allocations: 3.52 MB / 0.9149 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.184, allocations: 1.344 MB / 0.9162 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001763/1.186, allocations: 412.4 kB / 0.9166 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/1.186, allocations: 115.4 kB / 0.9167 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/1.186, allocations: 4 kB / 0.9167 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of Templates: time 0.04899/1.235, allocations: 28.93 MB / 0.9449 GB, free: 1.055 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)