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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 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.001358/0.001358, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7473/0.7473, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 68.3 kB / 0.5018 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3928, allocations: 80.21 MB / 0.5801 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6196/1.012, allocations: 274.6 MB / 0.8482 GB, free: 32.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01786/1.03, allocations: 17.33 MB / 0.8652 GB, free: 32.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/1.033, allocations: 68.59 kB / 0.8652 GB, free: 32.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003103/1.036, allocations: 1.176 MB / 0.8664 GB, free: 32.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006872/1.043, allocations: 3.087 MB / 0.8694 GB, free: 32.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004747/1.048, allocations: 2.205 MB / 0.8715 GB, free: 31.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00552/1.053, allocations: 4.82 MB / 0.8763 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/1.056, allocations: 1.763 MB / 0.878 GB, free: 31.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005355/1.061, allocations: 2.391 MB / 0.8803 GB, free: 31.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/1.063, allocations: 1.536 MB / 0.8818 GB, free: 31.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000308/1.064, allocations: 195.8 kB / 0.882 GB, free: 31.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005608/1.069, allocations: 3.003 MB / 0.8849 GB, free: 31.6 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007433/1.07, allocations: 0.7255 MB / 0.8856 GB, free: 31.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/1.071, allocations: 1.116 MB / 0.8867 GB, free: 31.23 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005215/1.077, allocations: 3.809 MB / 0.8904 GB, free: 30.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.077, allocations: 0 / 0.8904 GB, free: 30.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.502e-06/1.077, allocations: 0 / 0.8904 GB, free: 30.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.99e-05/1.077, allocations: 1 kB / 0.8904 GB, free: 30.8 MB / 0.6387 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.004022/1.081, allocations: 2.425 MB / 0.8928 GB, free: 29.6 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.081, allocations: 9.781 kB / 0.8928 GB, free: 29.6 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004325/1.085, allocations: 0.6391 MB / 0.8934 GB, free: 29.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/1.087, allocations: 1.337 MB / 0.8948 GB, free: 28.98 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/1.087, allocations: 102.3 kB / 0.8949 GB, free: 28.97 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/1.087, allocations: 137.8 kB / 0.895 GB, free: 28.97 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.09, allocations: 1.568 MB / 0.8965 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/1.09, allocations: 4.562 kB / 0.8965 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.09, allocations: 56.78 kB / 0.8966 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/1.09, allocations: 47.05 kB / 0.8966 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/1.092, allocations: 1.27 MB / 0.8979 GB, free: 28.28 MB / 0.6387 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.008342/1.1, allocations: 7.256 MB / 0.9049 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008568/1.101, allocations: 0.6497 MB / 0.9056 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/1.101, allocations: 366.3 kB / 0.9059 GB, free: 22.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/1.101, allocations: 115.3 kB / 0.906 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/1.101, allocations: 45.03 kB / 0.9061 GB, free: 22.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006579/1.102, allocations: 103.5 kB / 0.9062 GB, free: 22.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 2.765e-06/1.102, allocations: 0 / 0.9062 GB, free: 22.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.001594/1.104, allocations: 1.009 MB / 0.9072 GB, free: 22.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/1.104, allocations: 61.03 kB / 0.9072 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.105, allocations: 1.334 MB / 0.9085 GB, free: 21.26 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/1.105, allocations: 47.08 kB / 0.9086 GB, free: 21.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/1.105, allocations: 0.7916 MB / 0.9093 GB, free: 20.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/1.106, allocations: 246 kB / 0.9096 GB, free: 20.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/1.106, allocations: 198.5 kB / 0.9098 GB, free: 20 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/1.106, allocations: 341.9 kB / 0.9101 GB, free: 19.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/1.106, allocations: 356.7 kB / 0.9104 GB, free: 19.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/1.107, allocations: 0.6736 MB / 0.9111 GB, free: 18.51 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/1.108, allocations: 0.9523 MB / 0.912 GB, free: 17.49 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.108, allocations: 0 / 0.912 GB, free: 17.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001348/1.109, allocations: 1.147 MB / 0.9131 GB, free: 16.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.109, allocations: 11.94 kB / 0.9132 GB, free: 16.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.109, allocations: 8 kB / 0.9132 GB, free: 16.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.109, allocations: 12 kB / 0.9132 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/1.11, allocations: 215.1 kB / 0.9134 GB, free: 16.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.11, allocations: 14.62 kB / 0.9134 GB, free: 16.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.111, allocations: 43.97 kB / 0.9134 GB, free: 16.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/1.111, allocations: 43.98 kB / 0.9135 GB, free: 16.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008093/1.112, allocations: 0.6901 MB / 0.9141 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000554/1.113, allocations: 0.6793 MB / 0.9148 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008982/1.114, allocations: 0.9457 MB / 0.9157 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/1.114, allocations: 3.984 kB / 0.9157 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001312/1.115, allocations: 1.143 MB / 0.9169 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.115, allocations: 8 kB / 0.9169 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.115, allocations: 7.938 kB / 0.9169 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/1.115, allocations: 12 kB / 0.9169 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/1.116, allocations: 219.6 kB / 0.9171 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.116, allocations: 14.62 kB / 0.9171 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.117, allocations: 55.88 kB / 0.9172 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/1.117, allocations: 43.98 kB / 0.9172 GB, free: 12.08 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.00018/1.117, allocations: 243.5 kB / 0.9174 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/1.118, allocations: 150.2 kB / 0.9176 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/1.119, allocations: 0.8227 MB / 0.9184 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.119, allocations: 4 kB / 0.9184 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.119, allocations: 4 kB / 0.9184 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007244/1.119, allocations: 0.7824 MB / 0.9192 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.122, allocations: 2.301 MB / 0.9214 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.122, allocations: 0 / 0.9214 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/1.123, allocations: 171.6 kB / 0.9216 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.123, allocations: 4 kB / 0.9216 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/1.123, allocations: 28.17 kB / 0.9216 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.123, allocations: 4 kB / 0.9216 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.123, allocations: 0 / 0.9216 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/1.124, allocations: 1.313 MB / 0.9229 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/1.124, allocations: 319.2 kB / 0.9232 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.125, allocations: 16 kB / 0.9232 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/1.125, allocations: 33.47 kB / 0.9232 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/1.125, allocations: 48.44 kB / 0.9233 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/1.126, allocations: 27.98 kB / 0.9233 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008797/1.126, allocations: 0.9122 MB / 0.9242 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.126, allocations: 2.531 kB / 0.9242 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001561/1.128, allocations: 0.8339 MB / 0.925 GB, free: 3.945 MB / 0.6387 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.0004115/1.128, allocations: 261.8 kB / 0.9253 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001884/1.13, allocations: 1.434 MB / 0.9267 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.13, allocations: 1 kB / 0.9267 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/1.131, allocations: 353.2 kB / 0.927 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/1.134, allocations: 0.8424 MB / 0.9278 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/1.138, allocations: 2.901 MB / 0.9307 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008806/1.139, allocations: 1.352 MB / 0.932 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001639/1.14, allocations: 416.3 kB / 0.9324 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/1.141, allocations: 119.4 kB / 0.9325 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/1.141, allocations: 0 / 0.9325 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.0464/1.187, allocations: 29.1 MB / 0.9609 GB, free: 15.8 MB / 0.6856 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)