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.001221/0.001221, allocations: 106.8 kB / 16.52 MB, free: 6.27 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.001151/0.001151, allocations: 193.6 kB / 17.44 MB, free: 5.887 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7308/0.7308, allocations: 115.3 MB / 406.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 75.89 kB / 493.6 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3781, allocations: 76.17 MB / 0.5564 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6331/1.011, allocations: 272.5 MB / 0.8225 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02074/1.032, allocations: 17.48 MB / 0.8395 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004573/1.037, allocations: 63.66 kB / 0.8396 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003938/1.041, allocations: 0.9964 MB / 0.8406 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008423/1.049, allocations: 2.926 MB / 0.8434 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005688/1.055, allocations: 2.007 MB / 0.8454 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007603/1.062, allocations: 6.758 MB / 0.852 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/1.065, allocations: 1.485 MB / 0.8534 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/1.072, allocations: 2.113 MB / 0.8555 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/1.075, allocations: 1.593 MB / 0.8571 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007027/1.076, allocations: 96 kB / 0.8572 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007018/1.083, allocations: 3.416 MB / 0.8605 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/1.084, allocations: 0.6467 MB / 0.8611 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00235/1.086, allocations: 1.011 MB / 0.8621 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004729/1.091, allocations: 2.869 MB / 0.8649 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.091, allocations: 4 kB / 0.8649 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.003e-06/1.091, allocations: 0 / 0.8649 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001076/1.091, allocations: 0 / 0.8649 GB, free: 14.54 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.005617/1.097, allocations: 2.429 MB / 0.8673 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.097, allocations: 12.03 kB / 0.8673 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/1.102, allocations: 0.6377 MB / 0.8679 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/1.104, allocations: 1.331 MB / 0.8692 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.105, allocations: 102.5 kB / 0.8693 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/1.105, allocations: 143.9 kB / 0.8695 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/1.108, allocations: 1.575 MB / 0.871 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/1.108, allocations: 11.06 kB / 0.871 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/1.108, allocations: 56 kB / 0.8711 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/1.108, allocations: 50.44 kB / 0.8711 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/1.111, allocations: 1.27 MB / 0.8723 GB, free: 6.844 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.009837/1.121, allocations: 7.215 MB / 0.8794 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/1.122, allocations: 0.6514 MB / 0.88 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/1.122, allocations: 370.1 kB / 0.8804 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/1.123, allocations: 101.7 kB / 0.8805 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/1.123, allocations: 45.66 kB / 0.8805 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009478/1.124, allocations: 149.5 kB / 0.8807 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=67): time 4.909e-06/1.124, allocations: 0 / 0.8807 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67): time 0.002081/1.126, allocations: 1.013 MB / 0.8817 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.126, allocations: 62.59 kB / 0.8817 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/1.128, allocations: 1.339 MB / 0.883 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/1.128, allocations: 45.7 kB / 0.8831 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/1.128, allocations: 0.7828 MB / 0.8838 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/1.129, allocations: 238.9 kB / 0.8841 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/1.129, allocations: 202.5 kB / 0.8843 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.129, allocations: 349.9 kB / 0.8846 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/1.13, allocations: 352.7 kB / 0.8849 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/1.131, allocations: 0.6815 MB / 0.8856 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/1.132, allocations: 0.953 MB / 0.8865 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.132, allocations: 4 kB / 0.8865 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001979/1.134, allocations: 1.156 MB / 0.8876 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.134, allocations: 4.906 kB / 0.8877 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.134, allocations: 8 kB / 0.8877 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.134, allocations: 12 kB / 0.8877 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/1.135, allocations: 214.9 kB / 0.8879 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/1.135, allocations: 18.98 kB / 0.8879 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.137, allocations: 138.4 kB / 0.888 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/1.137, allocations: 47.92 kB / 0.8881 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/1.138, allocations: 0.6901 MB / 0.8887 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008116/1.139, allocations: 0.6779 MB / 0.8894 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001252/1.14, allocations: 0.9507 MB / 0.8903 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.023e-06/1.14, allocations: 7.984 kB / 0.8903 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001898/1.142, allocations: 1.148 MB / 0.8915 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.142, allocations: 13.86 kB / 0.8915 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.142, allocations: 4 kB / 0.8915 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.142, allocations: 12 kB / 0.8915 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/1.143, allocations: 207.9 kB / 0.8917 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/1.143, allocations: 16.03 kB / 0.8917 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.144, allocations: 143.6 kB / 0.8918 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/1.145, allocations: 40 kB / 0.8919 GB, free: 2.02 MB / 0.6075 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.0002895/1.145, allocations: 247.3 kB / 0.8921 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/1.145, allocations: 150.2 kB / 0.8923 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/1.147, allocations: 0.8264 MB / 0.8931 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.147, allocations: 8 kB / 0.8931 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.147, allocations: 3.984 kB / 0.8931 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/1.148, allocations: 0.7859 MB / 0.8938 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/1.152, allocations: 2.3 MB / 0.8961 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.152, allocations: 4 kB / 0.8961 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/1.153, allocations: 166 kB / 0.8963 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.331e-05/1.153, allocations: 12.12 kB / 0.8963 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/1.153, allocations: 16 kB / 0.8963 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.153, allocations: 6.812 kB / 0.8963 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/1.153, allocations: 4 kB / 0.8963 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.155, allocations: 1.26 MB / 0.8975 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/1.155, allocations: 323.2 kB / 0.8978 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/1.156, allocations: 16 kB / 0.8978 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.157, allocations: 92.78 kB / 0.8979 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/1.157, allocations: 47.69 kB / 0.898 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/1.157, allocations: 32.11 kB / 0.898 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001457/1.159, allocations: 0.9083 MB / 0.8989 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.159, allocations: 0 / 0.8989 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002501/1.161, allocations: 0.8418 MB / 0.8997 GB, free: 9.855 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.0006033/1.162, allocations: 260.8 kB / 0.9 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002235/1.164, allocations: 1.327 MB / 0.9013 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.164, allocations: 7.094 kB / 0.9013 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005113/1.165, allocations: 347.6 kB / 0.9016 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/1.169, allocations: 0.8454 MB / 0.9024 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/1.174, allocations: 3.595 MB / 0.9059 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.176, allocations: 1.345 MB / 0.9073 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/1.176, allocations: 127.4 kB / 0.9074 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of SimCode: time 1.462e-06/1.176, allocations: 0 / 0.9074 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of Templates: time 0.03949/1.216, allocations: 25.21 MB / 0.932 GB, free: 9.039 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)