Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001614/0.001614, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001444/0.001444, allocations: 193.1 kB / 17.29 MB, free: 5.48 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 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7467/0.7467, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 80.92 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5986/0.9512, allocations: 274.6 MB / 0.8539 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.9744, allocations: 17.35 MB / 0.8709 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.9777, allocations: 67.34 kB / 0.8709 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.9809, allocations: 1.166 MB / 0.8721 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008381/0.9894, allocations: 3.094 MB / 0.8751 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005825/0.9952, allocations: 2.212 MB / 0.8772 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0065/1.002, allocations: 4.831 MB / 0.882 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/1.004, allocations: 1.752 MB / 0.8837 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005369/1.009, allocations: 2.408 MB / 0.886 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/1.012, allocations: 1.54 MB / 0.8875 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/1.012, allocations: 192 kB / 0.8877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005535/1.018, allocations: 3.013 MB / 0.8907 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007024/1.018, allocations: 0.7245 MB / 0.8914 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/1.02, allocations: 1.116 MB / 0.8925 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005591/1.025, allocations: 3.821 MB / 0.8962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.025, allocations: 0 / 0.8962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.306e-06/1.025, allocations: 0 / 0.8962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.054e-05/1.025, allocations: 3.938 kB / 0.8962 GB, free: 15.74 MB / 0.6231 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.003688/1.029, allocations: 2.427 MB / 0.8986 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.029, allocations: 13.11 kB / 0.8986 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/1.033, allocations: 0.6339 MB / 0.8992 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/1.036, allocations: 1.404 MB / 0.9006 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/1.036, allocations: 102.5 kB / 0.9007 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/1.036, allocations: 140 kB / 0.9008 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/1.038, allocations: 1.573 MB / 0.9023 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/1.039, allocations: 0 / 0.9023 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/1.039, allocations: 52 kB / 0.9024 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/1.039, allocations: 50.44 kB / 0.9024 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/1.041, allocations: 1.266 MB / 0.9037 GB, free: 7.883 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.008888/1.05, allocations: 7.191 MB / 0.9107 GB, free: 124 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.051, allocations: 0.6542 MB / 0.9113 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/1.051, allocations: 374.7 kB / 0.9117 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/1.051, allocations: 105.7 kB / 0.9118 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.051, allocations: 43.12 kB / 0.9118 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00068/1.052, allocations: 107 kB / 0.9119 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/1.052, allocations: 0 / 0.9119 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.001771/1.054, allocations: 1.013 MB / 0.9129 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.054, allocations: 59.97 kB / 0.913 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.056, allocations: 1.339 MB / 0.9143 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/1.056, allocations: 45.7 kB / 0.9143 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/1.056, allocations: 0.7737 MB / 0.9151 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/1.056, allocations: 240.5 kB / 0.9153 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/1.057, allocations: 198.5 kB / 0.9155 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.057, allocations: 349.8 kB / 0.9158 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/1.057, allocations: 352.7 kB / 0.9162 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/1.058, allocations: 0.6751 MB / 0.9168 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/1.059, allocations: 0.9489 MB / 0.9178 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/1.059, allocations: 4 kB / 0.9178 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001622/1.061, allocations: 1.148 MB / 0.9189 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.061, allocations: 8 kB / 0.9189 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.061, allocations: 4 kB / 0.9189 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/1.061, allocations: 12.33 kB / 0.9189 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/1.062, allocations: 211.7 kB / 0.9191 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.062, allocations: 19.92 kB / 0.9191 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.063, allocations: 57.56 kB / 0.9192 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/1.063, allocations: 48.11 kB / 0.9192 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000958/1.064, allocations: 0.6854 MB / 0.9199 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007541/1.065, allocations: 0.6788 MB / 0.9206 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001142/1.066, allocations: 0.941 MB / 0.9215 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.085e-06/1.066, allocations: 0 / 0.9215 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001598/1.068, allocations: 1.155 MB / 0.9226 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.068, allocations: 8 kB / 0.9226 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.068, allocations: 7.938 kB / 0.9226 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/1.068, allocations: 15.94 kB / 0.9226 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/1.069, allocations: 208.3 kB / 0.9228 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.069, allocations: 19.92 kB / 0.9228 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.07, allocations: 62.89 kB / 0.9229 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/1.07, allocations: 40 kB / 0.9229 GB, free: 2.98 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.0002557/1.07, allocations: 244.8 kB / 0.9232 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.07, allocations: 154.2 kB / 0.9233 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/1.072, allocations: 0.8086 MB / 0.9241 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.072, allocations: 8 kB / 0.9241 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.072, allocations: 0 / 0.9241 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009734/1.073, allocations: 0.794 MB / 0.9249 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/1.076, allocations: 2.283 MB / 0.9271 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.076, allocations: 7.938 kB / 0.9271 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/1.077, allocations: 167.8 kB / 0.9273 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/1.077, allocations: 4 kB / 0.9273 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/1.077, allocations: 19.98 kB / 0.9273 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/1.077, allocations: 12.12 kB / 0.9273 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.077, allocations: 7.938 kB / 0.9273 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/1.079, allocations: 1.312 MB / 0.9286 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/1.079, allocations: 323.1 kB / 0.9289 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.079, allocations: 16 kB / 0.9289 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/1.08, allocations: 31.97 kB / 0.929 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/1.08, allocations: 44.5 kB / 0.929 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-05/1.081, allocations: 28.11 kB / 0.929 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001271/1.082, allocations: 0.9161 MB / 0.9299 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/1.082, allocations: 0 / 0.9299 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001883/1.084, allocations: 0.8339 MB / 0.9308 GB, free: 10.78 MB / 0.6544 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.0005942/1.084, allocations: 265.8 kB / 0.931 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002182/1.086, allocations: 1.331 MB / 0.9323 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.086, allocations: 0 / 0.9323 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/1.087, allocations: 347.9 kB / 0.9326 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.09, allocations: 0.8513 MB / 0.9335 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/1.094, allocations: 2.845 MB / 0.9362 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/1.095, allocations: 1.348 MB / 0.9376 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001421/1.097, allocations: 420.3 kB / 0.938 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/1.097, allocations: 115.4 kB / 0.9381 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of SimCode: time 1.142e-06/1.097, allocations: 0 / 0.9381 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.05092/1.148, allocations: 29.08 MB / 0.9665 GB, free: 6.488 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)