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.001821/0.001821, allocations: 109.9 kB / 16.37 MB, free: 6.012 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.00184/0.00184, allocations: 194.6 kB / 17.31 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7849/0.7849, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.89 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3491, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6167/0.9658, allocations: 274.6 MB / 0.8539 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.9883, allocations: 17.35 MB / 0.8709 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003355/0.9917, allocations: 70.91 kB / 0.8709 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.995, allocations: 1.164 MB / 0.8721 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008557/1.004, allocations: 3.094 MB / 0.8751 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005893/1.01, allocations: 2.214 MB / 0.8773 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006949/1.017, allocations: 4.828 MB / 0.882 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/1.02, allocations: 1.754 MB / 0.8837 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006347/1.026, allocations: 2.411 MB / 0.886 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/1.029, allocations: 1.534 MB / 0.8875 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007622/1.03, allocations: 192 kB / 0.8877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006783/1.037, allocations: 3.016 MB / 0.8907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001336/1.038, allocations: 0.7168 MB / 0.8914 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002546/1.041, allocations: 1.12 MB / 0.8925 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00723/1.048, allocations: 3.818 MB / 0.8962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.048, allocations: 0 / 0.8962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.743e-06/1.048, allocations: 0 / 0.8962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.27e-05/1.048, allocations: 0 / 0.8962 GB, free: 15.75 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.005038/1.053, allocations: 2.427 MB / 0.8986 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/1.053, allocations: 17.05 kB / 0.8986 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/1.058, allocations: 0.6378 MB / 0.8992 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/1.061, allocations: 1.404 MB / 0.9006 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.061, allocations: 106.5 kB / 0.9007 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/1.062, allocations: 136 kB / 0.9008 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/1.064, allocations: 1.569 MB / 0.9023 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/1.065, allocations: 7.922 kB / 0.9023 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/1.065, allocations: 52 kB / 0.9024 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/1.065, allocations: 46.45 kB / 0.9024 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/1.067, 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.00936/1.076, allocations: 7.191 MB / 0.9107 GB, free: 124 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.077, allocations: 0.6548 MB / 0.9113 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/1.078, allocations: 374.8 kB / 0.9117 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.078, allocations: 101.7 kB / 0.9118 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/1.078, allocations: 47.11 kB / 0.9118 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006056/1.079, allocations: 99.11 kB / 0.9119 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 3.477e-06/1.079, allocations: 0 / 0.9119 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.002/1.081, allocations: 1.016 MB / 0.9129 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/1.081, allocations: 59.97 kB / 0.913 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.083, allocations: 1.339 MB / 0.9143 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/1.083, allocations: 49.69 kB / 0.9143 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/1.084, allocations: 0.7737 MB / 0.9151 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/1.084, allocations: 240.5 kB / 0.9153 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/1.084, allocations: 198.5 kB / 0.9155 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.084, allocations: 345.9 kB / 0.9158 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/1.085, allocations: 353 kB / 0.9162 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/1.086, allocations: 0.679 MB / 0.9168 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/1.087, allocations: 0.9488 MB / 0.9178 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.087, allocations: 3.938 kB / 0.9178 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001924/1.089, allocations: 1.152 MB / 0.9189 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.089, allocations: 10.34 kB / 0.9189 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.089, allocations: 4 kB / 0.9189 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.089, allocations: 12 kB / 0.9189 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/1.09, allocations: 207.7 kB / 0.9191 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/1.09, allocations: 19.92 kB / 0.9191 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.091, allocations: 53.84 kB / 0.9192 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/1.091, allocations: 40 kB / 0.9192 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001099/1.093, allocations: 0.6893 MB / 0.9199 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000826/1.093, allocations: 0.6788 MB / 0.9206 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001267/1.095, allocations: 0.9449 MB / 0.9215 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.641e-06/1.095, allocations: 0 / 0.9215 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001953/1.097, allocations: 1.155 MB / 0.9226 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.097, allocations: 8 kB / 0.9226 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.097, allocations: 7.984 kB / 0.9226 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.097, allocations: 12.75 kB / 0.9226 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/1.098, allocations: 211.7 kB / 0.9228 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/1.098, allocations: 19.98 kB / 0.9229 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.099, allocations: 55.89 kB / 0.9229 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/1.099, allocations: 40 kB / 0.9229 GB, free: 2.988 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.0003069/1.099, allocations: 248.8 kB / 0.9232 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/1.1, allocations: 154.2 kB / 0.9233 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.101, allocations: 0.8163 MB / 0.9241 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/1.101, allocations: 8 kB / 0.9241 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.101, allocations: 3.984 kB / 0.9241 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/1.102, allocations: 0.7862 MB / 0.9249 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/1.107, allocations: 2.291 MB / 0.9271 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.107, allocations: 7.938 kB / 0.9272 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/1.107, allocations: 163.8 kB / 0.9273 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/1.107, allocations: 4 kB / 0.9273 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/1.108, allocations: 28.17 kB / 0.9273 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.108, allocations: 4 kB / 0.9273 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.108, allocations: 4 kB / 0.9273 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/1.11, allocations: 1.312 MB / 0.9286 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/1.111, allocations: 319.1 kB / 0.9289 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004301/1.111, allocations: 20 kB / 0.929 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.113, allocations: 29.59 kB / 0.929 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/1.113, allocations: 48.5 kB / 0.929 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-05/1.113, allocations: 35.92 kB / 0.9291 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001487/1.114, allocations: 0.9122 MB / 0.93 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/1.114, allocations: 0 / 0.93 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002848/1.117, allocations: 0.8339 MB / 0.9308 GB, free: 10.77 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.0006831/1.118, allocations: 261 kB / 0.931 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002386/1.12, allocations: 1.338 MB / 0.9323 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.12, allocations: 1 kB / 0.9323 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005327/1.121, allocations: 347.1 kB / 0.9327 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/1.125, allocations: 0.8397 MB / 0.9335 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/1.13, allocations: 2.853 MB / 0.9363 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.131, allocations: 1.348 MB / 0.9376 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001669/1.133, allocations: 412.3 kB / 0.938 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/1.133, allocations: 115.4 kB / 0.9381 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of SimCode: time 8.72e-07/1.133, allocations: 0 / 0.9381 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of Templates: time 0.04811/1.181, allocations: 29.08 MB / 0.9665 GB, free: 6.492 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)