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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 182.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/package.mo): time 0.738/0.738, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.398/1.398, allocations: 222.9 MB / 403.4 MB, free: 7.082 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.0009727/0.0009727, allocations: 118.4 kB / 484.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 63.89 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1425, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5544/0.6969, allocations: 272.5 MB / 0.9063 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.7183, allocations: 17.47 MB / 0.9233 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.7207, allocations: 63.62 kB / 0.9234 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.7238, allocations: 1.003 MB / 0.9244 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007317/0.7312, allocations: 2.917 MB / 0.9272 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005089/0.7363, allocations: 2.013 MB / 0.9292 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007333/0.7436, allocations: 6.755 MB / 0.9358 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002695/0.7463, allocations: 1.468 MB / 0.9372 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006075/0.7524, allocations: 2.126 MB / 0.9393 GB, free: 476 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003442/0.7559, allocations: 1.587 MB / 0.9408 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005846/0.7565, allocations: 96 kB / 0.9409 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0067/0.7632, allocations: 3.429 MB / 0.9443 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.7643, allocations: 0.6269 MB / 0.9449 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.7665, allocations: 1.019 MB / 0.9459 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006836/0.7734, allocations: 3.922 MB / 0.9497 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.7734, allocations: 0 / 0.9497 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7734, allocations: 0 / 0.9497 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.644e-05/0.7735, allocations: 0 / 0.9497 GB, free: 5.766 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.005018/0.7785, allocations: 2.432 MB / 0.9521 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.7786, allocations: 8.031 kB / 0.9521 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.7827, allocations: 0.6377 MB / 0.9527 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.7849, allocations: 1.334 MB / 0.954 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.785, allocations: 102.5 kB / 0.9541 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.7852, allocations: 148 kB / 0.9543 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2672/1.052, allocations: 1.561 MB / 0.9558 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/1.053, allocations: 6.969 kB / 0.9558 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.053, allocations: 56.7 kB / 0.9558 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/1.053, allocations: 48.38 kB / 0.9559 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/1.055, allocations: 1.267 MB / 0.9571 GB, free: 263.2 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.008102/1.063, allocations: 7.2 MB / 0.9642 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/1.064, allocations: 0.658 MB / 0.9648 GB, free: 257.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/1.065, allocations: 367.6 kB / 0.9651 GB, free: 257.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/1.065, allocations: 104.7 kB / 0.9652 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.065, allocations: 40.45 kB / 0.9653 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000733/1.066, allocations: 155 kB / 0.9654 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=67): time 3.045e-06/1.066, allocations: 0 / 0.9654 GB, free: 257.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67): time 0.001705/1.067, allocations: 1.015 MB / 0.9664 GB, free: 257.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/1.067, allocations: 63.42 kB / 0.9665 GB, free: 257 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/1.069, allocations: 1.338 MB / 0.9678 GB, free: 256.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/1.069, allocations: 45.89 kB / 0.9678 GB, free: 256.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/1.07, allocations: 0.7732 MB / 0.9686 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/1.07, allocations: 243.6 kB / 0.9688 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/1.07, allocations: 204.5 kB / 0.969 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.07, allocations: 344.2 kB / 0.9693 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/1.071, allocations: 353.5 kB / 0.9697 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/1.072, allocations: 0.6796 MB / 0.9703 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/1.073, allocations: 0.9484 MB / 0.9713 GB, free: 254 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.073, allocations: 2.938 kB / 0.9713 GB, free: 254 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00171/1.074, allocations: 1.145 MB / 0.9724 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.074, allocations: 8.906 kB / 0.9724 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.074, allocations: 6.938 kB / 0.9724 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/1.075, allocations: 10.66 kB / 0.9724 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/1.075, allocations: 208.8 kB / 0.9726 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/1.075, allocations: 21.45 kB / 0.9726 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.077, allocations: 130.7 kB / 0.9728 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/1.077, allocations: 44.11 kB / 0.9728 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001012/1.078, allocations: 0.6824 MB / 0.9735 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006875/1.079, allocations: 0.678 MB / 0.9741 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00109/1.08, allocations: 0.9421 MB / 0.9751 GB, free: 252 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/1.08, allocations: 4.344 kB / 0.9751 GB, free: 252 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001591/1.081, allocations: 1.146 MB / 0.9762 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.081, allocations: 8.344 kB / 0.9762 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.081, allocations: 10.91 kB / 0.9762 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.081, allocations: 11.67 kB / 0.9762 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/1.082, allocations: 207 kB / 0.9764 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.082, allocations: 17.05 kB / 0.9764 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.084, allocations: 127.6 kB / 0.9765 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/1.084, allocations: 42.3 kB / 0.9766 GB, free: 251.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.0002498/1.084, allocations: 242.7 kB / 0.9768 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.084, allocations: 154.7 kB / 0.977 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/1.086, allocations: 0.8111 MB / 0.9778 GB, free: 250.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/1.086, allocations: 10.31 kB / 0.9778 GB, free: 250.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.086, allocations: 6.453 kB / 0.9778 GB, free: 250.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008668/1.087, allocations: 0.7842 MB / 0.9785 GB, free: 250.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/1.09, allocations: 2.301 MB / 0.9808 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.09, allocations: 2.375 kB / 0.9808 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007958/1.091, allocations: 168.4 kB / 0.9809 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.091, allocations: 8.062 kB / 0.981 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/1.091, allocations: 21.45 kB / 0.981 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/1.091, allocations: 5.094 kB / 0.981 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.091, allocations: 1.5 kB / 0.981 GB, free: 249.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008851/1.1, allocations: 6.248 MB / 0.9871 GB, free: 245.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/1.1, allocations: 327.5 kB / 0.9874 GB, free: 244.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/1.1, allocations: 25.8 kB / 0.9874 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000982/1.101, allocations: 85.38 kB / 0.9875 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/1.102, allocations: 49.66 kB / 0.9875 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/1.102, allocations: 28.92 kB / 0.9876 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001088/1.103, allocations: 0.912 MB / 0.9885 GB, free: 244.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.103, allocations: 0 / 0.9885 GB, free: 244.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00375/1.107, allocations: 1.319 MB / 0.9898 GB, free: 244.1 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.000483/1.107, allocations: 252.8 kB / 0.99 GB, free: 244 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001804/1.109, allocations: 1.33 MB / 0.9913 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.109, allocations: 0 / 0.9913 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/1.109, allocations: 351 kB / 0.9916 GB, free: 243.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/1.113, allocations: 0.8479 MB / 0.9925 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/1.117, allocations: 3.94 MB / 0.9963 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/1.117, allocations: 1.378 MB / 0.9976 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001604/1.119, allocations: 421.4 kB / 0.9981 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/1.119, allocations: 119.4 kB / 0.9982 GB, free: 238.3 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/1.119, allocations: 0 / 0.9982 GB, free: 238.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.03863/1.158, allocations: 30.16 MB / 1.028 GB, free: 208.5 MB / 0.6823 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)