Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001131/0.001131, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.00113/0.00113, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8026/0.8026, allocations: 132.2 MB / 423.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.89 kB / 0.5032 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3548, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6492/1.004, allocations: 274.6 MB / 0.8496 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02238/1.026, allocations: 17.36 MB / 0.8666 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/1.03, allocations: 69.78 kB / 0.8666 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/1.034, allocations: 1.16 MB / 0.8678 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009226/1.043, allocations: 3.095 MB / 0.8708 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007816/1.051, allocations: 2.208 MB / 0.873 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007382/1.058, allocations: 4.829 MB / 0.8777 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/1.061, allocations: 1.754 MB / 0.8794 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005989/1.067, allocations: 2.425 MB / 0.8818 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/1.07, allocations: 1.527 MB / 0.8833 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003722/1.07, allocations: 190.5 kB / 0.8834 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005992/1.076, allocations: 3.018 MB / 0.8864 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008217/1.077, allocations: 0.7245 MB / 0.8871 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/1.079, allocations: 1.112 MB / 0.8882 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007219/1.086, allocations: 3.829 MB / 0.8919 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/1.086, allocations: 0 / 0.8919 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.275e-06/1.086, allocations: 0 / 0.8919 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.649e-05/1.086, allocations: 0 / 0.8919 GB, free: 5.453 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.004806/1.091, allocations: 2.423 MB / 0.8943 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.091, allocations: 8.031 kB / 0.8943 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004347/1.095, allocations: 0.6416 MB / 0.8949 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/1.098, allocations: 1.404 MB / 0.8963 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.521e-05/1.098, allocations: 106.5 kB / 0.8964 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/1.099, allocations: 136 kB / 0.8965 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/1.101, allocations: 1.565 MB / 0.898 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/1.101, allocations: 3.938 kB / 0.898 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.101, allocations: 56 kB / 0.8981 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/1.102, allocations: 50.39 kB / 0.8982 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/1.104, allocations: 1.259 MB / 0.8994 GB, free: 13.6 MB / 0.6231 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.00977/1.113, allocations: 7.195 MB / 0.9064 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.114, allocations: 0.6562 MB / 0.907 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/1.115, allocations: 371 kB / 0.9074 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/1.115, allocations: 105.6 kB / 0.9075 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.115, allocations: 47.03 kB / 0.9075 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006/1.116, allocations: 99.14 kB / 0.9076 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=67): time 2.665e-06/1.116, allocations: 4 kB / 0.9076 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67): time 0.001801/1.118, allocations: 1.013 MB / 0.9086 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.118, allocations: 59.97 kB / 0.9087 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/1.119, allocations: 1.335 MB / 0.91 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/1.119, allocations: 49.7 kB / 0.91 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/1.12, allocations: 0.7775 MB / 0.9108 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/1.12, allocations: 240.5 kB / 0.911 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/1.121, allocations: 198.5 kB / 0.9112 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.121, allocations: 345.9 kB / 0.9115 GB, free: 492 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/1.121, allocations: 356.7 kB / 0.9119 GB, free: 132 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/1.122, allocations: 0.6791 MB / 0.9126 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/1.123, allocations: 0.9526 MB / 0.9135 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/1.123, allocations: 0 / 0.9135 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001748/1.125, allocations: 1.148 MB / 0.9146 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.125, allocations: 8 kB / 0.9146 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.125, allocations: 8 kB / 0.9146 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.125, allocations: 12 kB / 0.9146 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008945/1.126, allocations: 216 kB / 0.9148 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/1.126, allocations: 11.94 kB / 0.9148 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.127, allocations: 53.97 kB / 0.9149 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/1.127, allocations: 43.94 kB / 0.9149 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00105/1.128, allocations: 0.6854 MB / 0.9156 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007487/1.129, allocations: 0.6751 MB / 0.9163 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001167/1.13, allocations: 0.9449 MB / 0.9172 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.249e-06/1.13, allocations: 4 kB / 0.9172 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001836/1.132, allocations: 1.148 MB / 0.9183 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.132, allocations: 8 kB / 0.9183 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.132, allocations: 8 kB / 0.9183 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.132, allocations: 12 kB / 0.9183 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.134, allocations: 204.4 kB / 0.9185 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/1.134, allocations: 23.92 kB / 0.9186 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/1.136, allocations: 59.81 kB / 0.9186 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.136, allocations: 43.98 kB / 0.9187 GB, free: 8.715 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.0004/1.136, allocations: 247.9 kB / 0.9189 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/1.137, allocations: 146.2 kB / 0.919 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/1.138, allocations: 0.8241 MB / 0.9198 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.138, allocations: 8 kB / 0.9198 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.138, allocations: 0 / 0.9198 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000973/1.139, allocations: 0.7862 MB / 0.9206 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/1.142, allocations: 2.29 MB / 0.9229 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.143, allocations: 0 / 0.9229 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/1.143, allocations: 171.8 kB / 0.923 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.143, allocations: 4 kB / 0.923 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/1.143, allocations: 20.19 kB / 0.923 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.143, allocations: 11.94 kB / 0.9231 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/1.143, allocations: 0 / 0.9231 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/1.145, allocations: 1.312 MB / 0.9243 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006002/1.146, allocations: 319.2 kB / 0.9246 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/1.146, allocations: 19.98 kB / 0.9247 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008556/1.147, allocations: 33.23 kB / 0.9247 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/1.147, allocations: 44.5 kB / 0.9247 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/1.147, allocations: 35.97 kB / 0.9248 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001185/1.148, allocations: 0.9122 MB / 0.9257 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/1.148, allocations: 4 kB / 0.9257 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001788/1.15, allocations: 0.8339 MB / 0.9265 GB, free: 0.5039 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.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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.0005053/1.151, allocations: 256.9 kB / 0.9267 GB, free: 260 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00205/1.153, allocations: 1.33 MB / 0.928 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.153, allocations: 4.875 kB / 0.928 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004492/1.153, allocations: 347.2 kB / 0.9284 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.156, allocations: 0.8439 MB / 0.9292 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/1.16, allocations: 2.871 MB / 0.932 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000872/1.161, allocations: 1.348 MB / 0.9333 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001333/1.162, allocations: 416.2 kB / 0.9337 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/1.163, allocations: 111.4 kB / 0.9338 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/1.163, allocations: 0 / 0.9338 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of Templates: time 0.04635/1.209, allocations: 29.07 MB / 0.9622 GB, free: 12.27 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)