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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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.0009221/0.0009221, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0008232/0.0008231, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8241/0.8241, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002962, allocations: 13.41 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 82.32 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.421/0.562, allocations: 223.7 MB / 0.8056 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.5809, allocations: 15.84 MB / 0.8211 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.5827, allocations: 55.62 kB / 0.8212 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.5852, allocations: 0.9993 MB / 0.8221 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.5929, allocations: 3.007 MB / 0.8251 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004601/0.5975, allocations: 1.751 MB / 0.8268 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004063/0.6016, allocations: 2.727 MB / 0.8294 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.6032, allocations: 1.324 MB / 0.8307 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.6058, allocations: 1.589 MB / 0.8323 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.6068, allocations: 0.9415 MB / 0.8332 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.607, allocations: 79.94 kB / 0.8333 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.6098, allocations: 1.311 MB / 0.8346 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004778/0.6102, allocations: 0.5492 MB / 0.8351 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.6106, allocations: 428.7 kB / 0.8355 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.6128, allocations: 2.451 MB / 0.8379 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.6129, allocations: 0 / 0.8379 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6129, allocations: 0 / 0.8379 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.6129, allocations: 4 kB / 0.8379 GB, free: 11.79 MB / 0.6544 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.003018/0.6159, allocations: 1.997 MB / 0.8399 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.616, allocations: 8.031 kB / 0.8399 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.6198, allocations: 0.6534 MB / 0.8405 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.6218, allocations: 1.273 MB / 0.8417 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.6219, allocations: 106.5 kB / 0.8418 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.6221, allocations: 143.9 kB / 0.842 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.6243, allocations: 1.549 MB / 0.8435 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.6244, allocations: 3.938 kB / 0.8435 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.6245, allocations: 60 kB / 0.8436 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.6245, allocations: 42.45 kB / 0.8436 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.6264, allocations: 1.259 MB / 0.8448 GB, free: 4.504 MB / 0.6544 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.007515/0.6339, allocations: 7.212 MB / 0.8519 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/0.6348, allocations: 0.6412 MB / 0.8525 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.315e-05/0.6349, allocations: 16.55 kB / 0.8525 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.635, allocations: 47.12 kB / 0.8526 GB, free: 12.01 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005618/0.6355, allocations: 154.9 kB / 0.8527 GB, free: 11.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.445e-06/0.6355, allocations: 0 / 0.8527 GB, free: 11.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001589/0.6371, allocations: 1.013 MB / 0.8537 GB, free: 10.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.6372, allocations: 55.97 kB / 0.8537 GB, free: 10.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.6386, allocations: 1.331 MB / 0.855 GB, free: 9.43 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.6387, allocations: 45.7 kB / 0.8551 GB, free: 9.379 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/0.6392, allocations: 0.7698 MB / 0.8558 GB, free: 8.602 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.6394, allocations: 248.4 kB / 0.8561 GB, free: 8.355 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.6395, allocations: 20 kB / 0.8561 GB, free: 8.336 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6396, allocations: 341.9 kB / 0.8564 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.6401, allocations: 337.8 kB / 0.8567 GB, free: 7.664 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.6409, allocations: 0.6673 MB / 0.8574 GB, free: 6.859 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.6416, allocations: 458.8 kB / 0.8578 GB, free: 6.414 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6416, allocations: 0 / 0.8578 GB, free: 6.414 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001632/0.6432, allocations: 1.132 MB / 0.8589 GB, free: 5.273 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008556/0.6441, allocations: 2.688 MB / 0.8616 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6441, allocations: 4 kB / 0.8616 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.6441, allocations: 20 kB / 0.8616 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.6449, allocations: 208 kB / 0.8618 GB, free: 2.211 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.645, allocations: 15.94 kB / 0.8618 GB, free: 2.195 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6463, allocations: 119.7 kB / 0.8619 GB, free: 2.078 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.6464, allocations: 43.94 kB / 0.862 GB, free: 2.035 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.6464, allocations: 4 kB / 0.862 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/0.6477, allocations: 0.9763 MB / 0.8629 GB, free: 1.051 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6477, allocations: 12.16 kB / 0.8629 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6478, allocations: 12 kB / 0.8629 GB, free: 1.027 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.6485, allocations: 211.6 kB / 0.8631 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.6486, allocations: 16.56 kB / 0.8632 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6497, allocations: 123.6 kB / 0.8633 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/0.6498, allocations: 39.98 kB / 0.8633 GB, free: 0.6445 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007038/0.6505, allocations: 0.489 MB / 0.8638 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.6507, allocations: 146.2 kB / 0.8639 GB, free: 0 / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.8868, allocations: 0.8212 MB / 0.8647 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.8868, allocations: 7.156 kB / 0.8647 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.8868, allocations: 0 / 0.8647 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007761/0.8876, allocations: 0.7855 MB / 0.8655 GB, free: 218.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.8904, allocations: 2.281 MB / 0.8677 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8904, allocations: 3.594 kB / 0.8677 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.8912, allocations: 172.4 kB / 0.8679 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.8912, allocations: 6.438 kB / 0.8679 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.8913, allocations: 20.95 kB / 0.8679 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.8913, allocations: 7 kB / 0.8679 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8913, allocations: 3.188 kB / 0.8679 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.8927, allocations: 1.395 MB / 0.8693 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.8931, allocations: 326.4 kB / 0.8696 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.8933, allocations: 15.75 kB / 0.8696 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009269/0.8942, allocations: 94.53 kB / 0.8697 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.8943, allocations: 43.08 kB / 0.8698 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.8944, allocations: 31.84 kB / 0.8698 GB, free: 217.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008505/0.8952, allocations: 0.8951 MB / 0.8707 GB, free: 217 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8952, allocations: 0 / 0.8707 GB, free: 217 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001545/0.8968, allocations: 0.8442 MB / 0.8715 GB, free: 216.9 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003839/0.8972, allocations: 268.5 kB / 0.8717 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.8986, allocations: 1.314 MB / 0.873 GB, free: 216.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8986, allocations: 3.281 kB / 0.873 GB, free: 216.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.899, allocations: 346.3 kB / 0.8734 GB, free: 216.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.9021, allocations: 0.8214 MB / 0.8742 GB, free: 216.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.9052, allocations: 3.465 MB / 0.8775 GB, free: 214.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.9058, allocations: 1.378 MB / 0.8789 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00132/0.9071, allocations: 413.6 kB / 0.8793 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.9074, allocations: 112.4 kB / 0.8794 GB, free: 213.3 MB / 0.67 GB Notification: Performance of SimCode: time 3.9e-07/0.9074, allocations: 4 kB / 0.8794 GB, free: 213.3 MB / 0.67 GB Notification: Performance of Templates: time 0.04038/0.9478, allocations: 27.11 MB / 0.9059 GB, free: 209.6 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: