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.001657/0.001657, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001426/0.001426, allocations: 191.9 kB / 17.2 MB, free: 5.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: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8048/0.8048, allocations: 125.4 MB / 416.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.89 kB / 0.4941 GB, free: 4.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3776, allocations: 78.56 MB / 0.5709 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6277/1.005, allocations: 274.7 MB / 0.8391 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02481/1.03, allocations: 17.38 MB / 0.8561 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004622/1.035, allocations: 71.22 kB / 0.8562 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004239/1.039, allocations: 1.157 MB / 0.8573 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/1.05, allocations: 3.087 MB / 0.8603 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007136/1.057, allocations: 2.202 MB / 0.8625 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007699/1.065, allocations: 4.826 MB / 0.8672 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/1.068, allocations: 1.771 MB / 0.8689 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007548/1.076, allocations: 2.585 MB / 0.8714 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/1.079, allocations: 1.514 MB / 0.8729 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004109/1.079, allocations: 192 kB / 0.8731 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007095/1.086, allocations: 3.008 MB / 0.876 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/1.087, allocations: 0.7198 MB / 0.8767 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002144/1.089, allocations: 1.127 MB / 0.8778 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007665/1.097, allocations: 3.804 MB / 0.8816 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.097, allocations: 0 / 0.8816 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/1.097, allocations: 0 / 0.8816 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.616e-05/1.097, allocations: 0 / 0.8816 GB, free: 11.68 MB / 0.6075 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.004992/1.102, allocations: 2.428 MB / 0.8839 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.102, allocations: 8.031 kB / 0.8839 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/1.107, allocations: 0.6404 MB / 0.8846 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/1.109, allocations: 1.337 MB / 0.8859 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.109, allocations: 110.5 kB / 0.886 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/1.11, allocations: 136 kB / 0.8861 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/1.113, allocations: 1.568 MB / 0.8876 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/1.113, allocations: 11.28 kB / 0.8876 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.113, allocations: 56 kB / 0.8877 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/1.113, allocations: 50.44 kB / 0.8877 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/1.115, allocations: 1.264 MB / 0.889 GB, free: 3.988 MB / 0.6075 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.01036/1.126, allocations: 7.269 MB / 0.8961 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/1.127, allocations: 0.6553 MB / 0.8967 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/1.127, allocations: 380 kB / 0.8971 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/1.128, allocations: 97.66 kB / 0.8972 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/1.128, allocations: 47.12 kB / 0.8972 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005864/1.128, allocations: 101.5 kB / 0.8973 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=67): time 2.965e-06/1.128, allocations: 0 / 0.8973 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67): time 0.001958/1.13, allocations: 1.023 MB / 0.8983 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/1.13, allocations: 59.97 kB / 0.8984 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/1.132, allocations: 1.335 MB / 0.8997 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.969e-05/1.132, allocations: 49.7 kB / 0.8997 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006924/1.133, allocations: 0.775 MB / 0.9005 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.133, allocations: 242.8 kB / 0.9007 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/1.133, allocations: 210.3 kB / 0.9009 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.134, allocations: 341.9 kB / 0.9012 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/1.134, allocations: 352.7 kB / 0.9016 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/1.135, allocations: 0.6809 MB / 0.9022 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/1.137, allocations: 0.9565 MB / 0.9032 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.137, allocations: 4 kB / 0.9032 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00188/1.139, allocations: 1.153 MB / 0.9043 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.139, allocations: 8 kB / 0.9043 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.139, allocations: 8 kB / 0.9043 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/1.139, allocations: 15.94 kB / 0.9043 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/1.14, allocations: 209.3 kB / 0.9045 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/1.14, allocations: 15.38 kB / 0.9045 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.141, allocations: 52.92 kB / 0.9046 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/1.141, allocations: 40 kB / 0.9046 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001187/1.142, allocations: 0.6902 MB / 0.9053 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008887/1.143, allocations: 0.6751 MB / 0.906 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001329/1.144, allocations: 0.9525 MB / 0.9069 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/1.144, allocations: 0 / 0.9069 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001893/1.146, allocations: 1.15 MB / 0.908 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.146, allocations: 8 kB / 0.908 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.146, allocations: 8 kB / 0.908 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/1.146, allocations: 8.719 kB / 0.908 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/1.147, allocations: 209.7 kB / 0.9082 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/1.147, allocations: 27.2 kB / 0.9083 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.149, allocations: 60.83 kB / 0.9083 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/1.149, allocations: 39.98 kB / 0.9084 GB, free: 15.32 MB / 0.6387 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.0003274/1.149, allocations: 248.2 kB / 0.9086 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/1.149, allocations: 146.2 kB / 0.9087 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/1.151, allocations: 0.8272 MB / 0.9096 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.151, allocations: 11.94 kB / 0.9096 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.151, allocations: 0 / 0.9096 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/1.152, allocations: 0.7863 MB / 0.9103 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/1.156, allocations: 2.309 MB / 0.9126 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.156, allocations: 3.984 kB / 0.9126 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008453/1.157, allocations: 165.8 kB / 0.9127 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/1.157, allocations: 8.188 kB / 0.9128 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/1.157, allocations: 20 kB / 0.9128 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.157, allocations: 7.188 kB / 0.9128 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.157, allocations: 0 / 0.9128 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/1.159, allocations: 1.264 MB / 0.914 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/1.16, allocations: 323.1 kB / 0.9143 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/1.16, allocations: 12 kB / 0.9143 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009686/1.161, allocations: 37.34 kB / 0.9144 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/1.161, allocations: 48.44 kB / 0.9144 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/1.161, allocations: 31.98 kB / 0.9144 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001466/1.163, allocations: 0.9115 MB / 0.9153 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/1.163, allocations: 3.938 kB / 0.9153 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002215/1.165, allocations: 0.8379 MB / 0.9162 GB, free: 7.199 MB / 0.6387 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.0006352/1.166, allocations: 252.6 kB / 0.9164 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002763/1.168, allocations: 1.439 MB / 0.9178 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.168, allocations: 384 / 0.9178 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/1.169, allocations: 354.6 kB / 0.9181 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/1.173, allocations: 0.8463 MB / 0.919 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/1.178, allocations: 2.923 MB / 0.9218 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/1.179, allocations: 1.344 MB / 0.9231 GB, free: 140 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002011/1.181, allocations: 420.3 kB / 0.9235 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/1.182, allocations: 111.4 kB / 0.9236 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/1.182, allocations: 7.938 kB / 0.9237 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.05317/1.235, allocations: 29.06 MB / 0.952 GB, free: 3.008 MB / 0.67 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)