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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001263, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.88 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1636, allocations: 80.93 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5629/0.7266, allocations: 274.6 MB / 0.8525 GB, free: 10 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4079/1.135, allocations: 17.33 MB / 0.8694 GB, free: 28.2 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/1.137, allocations: 67.38 kB / 0.8695 GB, free: 28.2 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/1.139, allocations: 1.165 MB / 0.8706 GB, free: 28.2 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006826/1.146, allocations: 3.09 MB / 0.8737 GB, free: 28.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005162/1.151, allocations: 2.197 MB / 0.8758 GB, free: 28.12 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0063/1.158, allocations: 4.816 MB / 0.8805 GB, free: 28.12 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/1.16, allocations: 1.757 MB / 0.8822 GB, free: 27.94 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005447/1.166, allocations: 2.404 MB / 0.8846 GB, free: 27.92 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/1.168, allocations: 1.538 MB / 0.8861 GB, free: 27.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003794/1.169, allocations: 193.5 kB / 0.8863 GB, free: 27.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006155/1.175, allocations: 3.011 MB / 0.8892 GB, free: 27.88 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/1.176, allocations: 0.7258 MB / 0.8899 GB, free: 27.88 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002443/1.179, allocations: 1.119 MB / 0.891 GB, free: 27.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007982/1.187, allocations: 3.796 MB / 0.8947 GB, free: 27.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.187, allocations: 4.406 kB / 0.8947 GB, free: 27.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.813e-06/1.187, allocations: 1.031 kB / 0.8947 GB, free: 27.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.234e-05/1.187, allocations: 0 / 0.8947 GB, free: 27.59 MB / 0.67 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.007281/1.194, allocations: 2.436 MB / 0.8971 GB, free: 26.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.194, allocations: 11.03 kB / 0.8971 GB, free: 26.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004979/1.199, allocations: 0.6376 MB / 0.8977 GB, free: 26.29 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/1.202, allocations: 1.331 MB / 0.899 GB, free: 25.87 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.73e-05/1.202, allocations: 104 kB / 0.8991 GB, free: 25.87 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/1.202, allocations: 141.8 kB / 0.8993 GB, free: 25.86 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/1.205, allocations: 1.568 MB / 0.9008 GB, free: 25.67 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.205, allocations: 1.438 kB / 0.9008 GB, free: 25.67 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/1.205, allocations: 56.5 kB / 0.9008 GB, free: 25.67 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/1.205, allocations: 52.73 kB / 0.9009 GB, free: 25.67 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/1.208, allocations: 1.264 MB / 0.9021 GB, free: 25.65 MB / 0.67 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.008359/1.216, allocations: 7.254 MB / 0.9092 GB, free: 21.79 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/1.217, allocations: 0.6553 MB / 0.9098 GB, free: 21.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/1.217, allocations: 369.8 kB / 0.9102 GB, free: 21.74 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.218, allocations: 109.6 kB / 0.9103 GB, free: 21.65 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.218, allocations: 44.09 kB / 0.9103 GB, free: 21.61 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007107/1.218, allocations: 103.4 kB / 0.9104 GB, free: 21.56 MB / 0.67 GB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/1.218, allocations: 0 / 0.9104 GB, free: 21.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=67): time 0.001797/1.22, allocations: 1.009 MB / 0.9114 GB, free: 21.45 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/1.22, allocations: 58.88 kB / 0.9115 GB, free: 21.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/1.222, allocations: 1.345 MB / 0.9128 GB, free: 21.21 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.927e-05/1.222, allocations: 45.27 kB / 0.9128 GB, free: 21.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/1.222, allocations: 0.7737 MB / 0.9136 GB, free: 20.88 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/1.222, allocations: 243.5 kB / 0.9138 GB, free: 20.73 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/1.223, allocations: 203.7 kB / 0.914 GB, free: 20.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/1.223, allocations: 345.5 kB / 0.9144 GB, free: 20.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/1.223, allocations: 353.3 kB / 0.9147 GB, free: 20.39 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/1.224, allocations: 0.6823 MB / 0.9154 GB, free: 20.03 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/1.225, allocations: 0.9446 MB / 0.9163 GB, free: 19.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.225, allocations: 6.312 kB / 0.9163 GB, free: 19.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001704/1.227, allocations: 1.153 MB / 0.9174 GB, free: 19.67 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.227, allocations: 7.062 kB / 0.9174 GB, free: 19.67 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.227, allocations: 10.78 kB / 0.9174 GB, free: 19.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.227, allocations: 11.73 kB / 0.9174 GB, free: 19.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/1.228, allocations: 209.2 kB / 0.9176 GB, free: 19.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.228, allocations: 17.42 kB / 0.9177 GB, free: 19.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.23, allocations: 53.67 kB / 0.9177 GB, free: 19.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/1.23, allocations: 41.62 kB / 0.9177 GB, free: 19.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009876/1.231, allocations: 0.6836 MB / 0.9184 GB, free: 19.58 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000697/1.231, allocations: 0.6777 MB / 0.9191 GB, free: 19.22 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001052/1.232, allocations: 0.9499 MB / 0.92 GB, free: 18.98 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/1.232, allocations: 0 / 0.92 GB, free: 18.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001512/1.234, allocations: 1.149 MB / 0.9211 GB, free: 18.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.234, allocations: 8.25 kB / 0.9211 GB, free: 18.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.234, allocations: 6.062 kB / 0.9211 GB, free: 18.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.234, allocations: 10.94 kB / 0.9211 GB, free: 18.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/1.235, allocations: 212.2 kB / 0.9214 GB, free: 18.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/1.235, allocations: 16.81 kB / 0.9214 GB, free: 18.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.236, allocations: 59.73 kB / 0.9214 GB, free: 18.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/1.236, allocations: 40.67 kB / 0.9215 GB, free: 18.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002431/1.237, allocations: 249.2 kB / 0.9217 GB, free: 18.67 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/1.237, allocations: 150.3 kB / 0.9218 GB, free: 18.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/1.238, allocations: 0.8147 MB / 0.9226 GB, free: 18.54 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.238, allocations: 8.75 kB / 0.9226 GB, free: 18.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.238, allocations: 4.156 kB / 0.9227 GB, free: 18.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008644/1.239, allocations: 0.7795 MB / 0.9234 GB, free: 18.29 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/1.242, allocations: 2.295 MB / 0.9257 GB, free: 17.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.242, allocations: 2.438 kB / 0.9257 GB, free: 17.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/1.243, allocations: 172.5 kB / 0.9258 GB, free: 17.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/1.243, allocations: 2.844 kB / 0.9258 GB, free: 17.91 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/1.243, allocations: 20.94 kB / 0.9258 GB, free: 17.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.243, allocations: 10.03 kB / 0.9259 GB, free: 17.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.243, allocations: 7.031 kB / 0.9259 GB, free: 17.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/1.245, allocations: 1.306 MB / 0.9271 GB, free: 17.63 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/1.245, allocations: 320.7 kB / 0.9274 GB, free: 17.46 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.245, allocations: 18.84 kB / 0.9275 GB, free: 17.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008887/1.246, allocations: 37.33 kB / 0.9275 GB, free: 17.46 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/1.246, allocations: 41.41 kB / 0.9275 GB, free: 17.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/1.246, allocations: 35.95 kB / 0.9276 GB, free: 17.46 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00107/1.247, allocations: 0.9084 MB / 0.9285 GB, free: 17.35 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/1.247, allocations: 0 / 0.9285 GB, free: 17.35 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002015/1.249, allocations: 0.8329 MB / 0.9293 GB, free: 17.25 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 (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.0005167/1.25, allocations: 273.2 kB / 0.9295 GB, free: 17.14 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002331/1.252, allocations: 1.434 MB / 0.9309 GB, free: 17.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.252, allocations: 2.75 kB / 0.9309 GB, free: 17.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/1.253, allocations: 347.3 kB / 0.9313 GB, free: 17.12 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/1.256, allocations: 0.845 MB / 0.9321 GB, free: 17.02 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/1.261, allocations: 2.906 MB / 0.9349 GB, free: 15.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/1.262, allocations: 1.347 MB / 0.9362 GB, free: 14.97 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002076/1.264, allocations: 415 kB / 0.9366 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/1.265, allocations: 113.5 kB / 0.9367 GB, free: 14.87 MB / 0.67 GB Notification: Performance of SimCode: time 8.71e-07/1.265, allocations: 0 / 0.9367 GB, free: 14.87 MB / 0.67 GB Notification: Performance of Templates: time 0.04394/1.309, allocations: 29.1 MB / 0.9652 GB, free: 6.207 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)