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.00149/0.00149, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001618/0.001618, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8009/0.8009, allocations: 135.1 MB / 425.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 0.5055 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.417, allocations: 80.92 MB / 0.5845 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6546/1.072, allocations: 271.4 MB / 0.8495 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02087/1.093, allocations: 17.22 MB / 0.8663 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/1.095, allocations: 63.5 kB / 0.8664 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/1.099, allocations: 1.031 MB / 0.8674 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008418/1.107, allocations: 2.909 MB / 0.8702 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005538/1.113, allocations: 2.038 MB / 0.8722 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006721/1.119, allocations: 4.824 MB / 0.8769 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/1.122, allocations: 1.732 MB / 0.8786 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006772/1.129, allocations: 2.407 MB / 0.881 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/1.132, allocations: 1.622 MB / 0.8826 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006821/1.133, allocations: 192 kB / 0.8827 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00727/1.14, allocations: 3.141 MB / 0.8858 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001242/1.142, allocations: 0.7285 MB / 0.8865 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002708/1.144, allocations: 1.116 MB / 0.8876 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005345/1.15, allocations: 2.904 MB / 0.8905 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.15, allocations: 0 / 0.8905 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/1.15, allocations: 4 kB / 0.8905 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001107/1.15, allocations: 0 / 0.8905 GB, free: 4.777 MB / 0.6075 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.006064/1.156, allocations: 2.431 MB / 0.8928 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.156, allocations: 13.11 kB / 0.8928 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/1.161, allocations: 0.6377 MB / 0.8935 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/1.164, allocations: 1.334 MB / 0.8948 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/1.164, allocations: 106.5 kB / 0.8949 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000472/1.165, allocations: 140 kB / 0.895 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/1.168, allocations: 1.573 MB / 0.8965 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/1.168, allocations: 3.984 kB / 0.8965 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/1.168, allocations: 55.98 kB / 0.8966 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/1.169, allocations: 50.39 kB / 0.8966 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/1.171, allocations: 1.266 MB / 0.8979 GB, free: 12.97 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.011/1.182, allocations: 7.198 MB / 0.9049 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.183, allocations: 0.6428 MB / 0.9055 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/1.184, allocations: 383 kB / 0.9059 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/1.184, allocations: 109.6 kB / 0.906 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.184, allocations: 43.12 kB / 0.9061 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009874/1.185, allocations: 119.1 kB / 0.9062 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=67): time 5.059e-06/1.185, allocations: 0 / 0.9062 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67): time 0.00213/1.187, allocations: 1.024 MB / 0.9072 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.187, allocations: 60.23 kB / 0.9072 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/1.189, allocations: 1.335 MB / 0.9085 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/1.189, allocations: 45.7 kB / 0.9086 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006689/1.19, allocations: 0.7774 MB / 0.9093 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/1.19, allocations: 244.6 kB / 0.9096 GB, free: 364 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/1.191, allocations: 202.4 kB / 0.9098 GB, free: 152 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.191, allocations: 345.9 kB / 0.9101 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/1.191, allocations: 352.7 kB / 0.9104 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008535/1.192, allocations: 0.683 MB / 0.9111 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.194, allocations: 0.9488 MB / 0.912 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.194, allocations: 4 kB / 0.912 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002056/1.196, allocations: 1.144 MB / 0.9131 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/1.196, allocations: 11.98 kB / 0.9131 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.196, allocations: 8 kB / 0.9132 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/1.196, allocations: 12.75 kB / 0.9132 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/1.197, allocations: 207.7 kB / 0.9134 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-05/1.197, allocations: 15.94 kB / 0.9134 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/1.199, allocations: 131.6 kB / 0.9135 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/1.199, allocations: 36 kB / 0.9135 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001216/1.2, allocations: 0.6854 MB / 0.9142 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008407/1.201, allocations: 0.6788 MB / 0.9149 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/1.202, allocations: 0.941 MB / 0.9158 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.005e-06/1.202, allocations: 7.938 kB / 0.9158 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002012/1.204, allocations: 1.148 MB / 0.9169 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.204, allocations: 8 kB / 0.9169 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.204, allocations: 12.09 kB / 0.9169 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.204, allocations: 12 kB / 0.917 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/1.205, allocations: 203.7 kB / 0.9171 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.191e-05/1.205, allocations: 15.94 kB / 0.9172 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.207, allocations: 125.6 kB / 0.9173 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/1.207, allocations: 43.98 kB / 0.9173 GB, free: 7.906 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.0003385/1.207, allocations: 248.8 kB / 0.9176 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/1.208, allocations: 158.1 kB / 0.9177 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/1.209, allocations: 0.8203 MB / 0.9185 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/1.209, allocations: 7.984 kB / 0.9185 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.209, allocations: 0 / 0.9185 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/1.21, allocations: 0.7823 MB / 0.9193 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/1.214, allocations: 2.302 MB / 0.9215 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.214, allocations: 0 / 0.9215 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008428/1.215, allocations: 172 kB / 0.9217 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.215, allocations: 4 kB / 0.9217 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/1.215, allocations: 16 kB / 0.9217 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/1.215, allocations: 15.81 kB / 0.9217 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.215, allocations: 4 kB / 0.9217 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/1.217, allocations: 1.312 MB / 0.923 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007092/1.218, allocations: 319.2 kB / 0.9233 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003182/1.218, allocations: 16 kB / 0.9233 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.22, allocations: 99.7 kB / 0.9234 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/1.22, allocations: 40.5 kB / 0.9235 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.615e-05/1.22, allocations: 31.98 kB / 0.9235 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001449/1.221, allocations: 0.9083 MB / 0.9244 GB, free: 480 kB / 0.6387 GB Notification: Performance of sort global known variables: time 5.11e-07/1.221, allocations: 4 kB / 0.9244 GB, free: 476 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002484/1.224, allocations: 0.8419 MB / 0.9252 GB, free: 15.62 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.0006837/1.224, allocations: 256.3 kB / 0.9255 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002738/1.227, allocations: 1.433 MB / 0.9269 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.227, allocations: 0 / 0.9269 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004998/1.228, allocations: 351.5 kB / 0.9272 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004073/1.232, allocations: 0.8577 MB / 0.928 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/1.238, allocations: 3.581 MB / 0.9315 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.239, allocations: 1.344 MB / 0.9328 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/1.239, allocations: 123.4 kB / 0.933 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/1.239, allocations: 0 / 0.933 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of Templates: time 0.04111/1.281, allocations: 25.19 MB / 0.9576 GB, free: 14.62 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)