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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7222/0.7222, allocations: 133.4 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 404.7 MB, free: 6.008 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 111.1 kB / 485.9 MB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 55.91 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1288, allocations: 80.42 MB / 0.6421 GB, free: 5.395 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5326/0.6614, allocations: 272.5 MB / 0.9082 GB, free: 320 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02181/0.6833, allocations: 17.47 MB / 0.9253 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.6855, allocations: 63.62 kB / 0.9254 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.6883, allocations: 1.011 MB / 0.9263 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006722/0.695, allocations: 2.919 MB / 0.9292 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.6998, allocations: 2.007 MB / 0.9311 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007257/0.7071, allocations: 6.753 MB / 0.9377 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.7093, allocations: 1.468 MB / 0.9392 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005648/0.715, allocations: 2.129 MB / 0.9413 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.7189, allocations: 1.587 MB / 0.9428 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004925/0.7195, allocations: 96 kB / 0.9429 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009358/0.7288, allocations: 3.425 MB / 0.9462 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.7305, allocations: 0.6308 MB / 0.9469 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.7326, allocations: 1.019 MB / 0.9479 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007477/0.7401, allocations: 3.914 MB / 0.9517 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7402, allocations: 0 / 0.9517 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7402, allocations: 0 / 0.9517 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.465e-05/0.7402, allocations: 0 / 0.9517 GB, free: 3.707 MB / 0.6823 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.004437/0.7447, allocations: 2.428 MB / 0.954 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7447, allocations: 8.031 kB / 0.9541 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/0.749, allocations: 0.6455 MB / 0.9547 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2807/1.03, allocations: 1.327 MB / 0.956 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/1.03, allocations: 104 kB / 0.9561 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/1.03, allocations: 144.4 kB / 0.9562 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/1.033, allocations: 1.578 MB / 0.9578 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/1.033, allocations: 0.9062 kB / 0.9578 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.033, allocations: 58.44 kB / 0.9578 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/1.033, allocations: 46.14 kB / 0.9579 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/1.035, allocations: 1.268 MB / 0.9591 GB, free: 261.4 MB / 0.6823 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.009797/1.045, allocations: 7.205 MB / 0.9661 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/1.046, allocations: 0.6575 MB / 0.9668 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/1.047, allocations: 367.9 kB / 0.9671 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/1.047, allocations: 104.8 kB / 0.9672 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/1.047, allocations: 44.34 kB / 0.9673 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008677/1.048, allocations: 149.8 kB / 0.9674 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=67): time 2.605e-06/1.048, allocations: 0 / 0.9674 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67): time 0.001869/1.05, allocations: 1.007 MB / 0.9684 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/1.05, allocations: 59.56 kB / 0.9685 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/1.052, allocations: 1.337 MB / 0.9698 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/1.052, allocations: 52.89 kB / 0.9698 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/1.052, allocations: 0.7733 MB / 0.9706 GB, free: 254 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/1.053, allocations: 244.6 kB / 0.9708 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/1.053, allocations: 203.1 kB / 0.971 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/1.053, allocations: 345.5 kB / 0.9713 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/1.053, allocations: 354.3 kB / 0.9717 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/1.054, allocations: 0.6781 MB / 0.9723 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.055, allocations: 0.9484 MB / 0.9732 GB, free: 252.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.055, allocations: 2.25 kB / 0.9732 GB, free: 252.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0018/1.057, allocations: 1.147 MB / 0.9744 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.057, allocations: 7.625 kB / 0.9744 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.057, allocations: 7.672 kB / 0.9744 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.057, allocations: 15.22 kB / 0.9744 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/1.058, allocations: 208.1 kB / 0.9746 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/1.058, allocations: 17.5 kB / 0.9746 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.06, allocations: 126.1 kB / 0.9747 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/1.06, allocations: 46.14 kB / 0.9748 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001155/1.061, allocations: 0.6824 MB / 0.9754 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007789/1.062, allocations: 0.6794 MB / 0.9761 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001195/1.063, allocations: 0.9502 MB / 0.977 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/1.063, allocations: 2.25 kB / 0.977 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001882/1.065, allocations: 1.148 MB / 0.9782 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.065, allocations: 10.91 kB / 0.9782 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.065, allocations: 6.875 kB / 0.9782 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.065, allocations: 11.97 kB / 0.9782 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/1.066, allocations: 205.8 kB / 0.9784 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/1.066, allocations: 17.41 kB / 0.9784 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.068, allocations: 126.9 kB / 0.9785 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/1.068, allocations: 42.2 kB / 0.9786 GB, free: 249.5 MB / 0.6823 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.0003667/1.068, allocations: 246.2 kB / 0.9788 GB, free: 249.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/1.069, allocations: 153.2 kB / 0.9789 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/1.07, allocations: 0.8171 MB / 0.9797 GB, free: 248.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/1.07, allocations: 9.609 kB / 0.9797 GB, free: 248.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.07, allocations: 1.031 kB / 0.9797 GB, free: 248.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009211/1.071, allocations: 0.784 MB / 0.9805 GB, free: 248.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/1.075, allocations: 2.292 MB / 0.9828 GB, free: 247.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.075, allocations: 1.75 kB / 0.9828 GB, free: 247.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/1.076, allocations: 175.5 kB / 0.9829 GB, free: 247.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/1.076, allocations: 5.625 kB / 0.9829 GB, free: 247.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/1.076, allocations: 19.81 kB / 0.9829 GB, free: 247.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/1.076, allocations: 7.125 kB / 0.983 GB, free: 247.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.076, allocations: 4.094 kB / 0.983 GB, free: 247.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009573/1.085, allocations: 6.252 MB / 0.9891 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/1.086, allocations: 322.5 kB / 0.9894 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.086, allocations: 11.97 kB / 0.9894 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.087, allocations: 96.38 kB / 0.9895 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/1.087, allocations: 45.58 kB / 0.9895 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/1.087, allocations: 39.61 kB / 0.9896 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001047/1.088, allocations: 0.9075 MB / 0.9904 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/1.088, allocations: 0 / 0.9904 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004063/1.092, allocations: 1.312 MB / 0.9917 GB, free: 241.9 MB / 0.6823 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.0006141/1.093, allocations: 270.8 kB / 0.992 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.095, allocations: 1.328 MB / 0.9933 GB, free: 241.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.095, allocations: 0 / 0.9933 GB, free: 241.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/1.095, allocations: 346.5 kB / 0.9936 GB, free: 241 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/1.099, allocations: 0.8354 MB / 0.9944 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/1.104, allocations: 3.954 MB / 0.9983 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/1.104, allocations: 1.373 MB / 0.9996 GB, free: 235.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001729/1.106, allocations: 420.9 kB / 1 GB, free: 235.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/1.106, allocations: 123.4 kB / 1 GB, free: 235 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/1.106, allocations: 0 / 1 GB, free: 235 MB / 0.6823 GB Notification: Performance of Templates: time 0.04258/1.149, allocations: 30.15 MB / 1.03 GB, free: 205.2 MB / 0.6823 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)