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.001538/0.001538, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001546/0.001546, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8457/0.8457, allocations: 135.2 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.84 kB / 0.506 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3423, allocations: 80.91 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.603/0.9454, allocations: 274.6 MB / 0.8532 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02306/0.9685, allocations: 17.35 MB / 0.8701 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.9714, allocations: 68.38 kB / 0.8702 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.9746, allocations: 1.173 MB / 0.8714 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008425/0.983, allocations: 3.089 MB / 0.8744 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006053/0.9891, allocations: 2.192 MB / 0.8765 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007459/0.9966, allocations: 4.826 MB / 0.8812 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003683/1, allocations: 1.764 MB / 0.8829 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007701/1.008, allocations: 2.39 MB / 0.8853 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/1.012, allocations: 1.536 MB / 0.8868 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009744/1.013, allocations: 192 kB / 0.887 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008328/1.021, allocations: 3.013 MB / 0.8899 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001526/1.023, allocations: 0.7245 MB / 0.8906 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003172/1.026, allocations: 1.116 MB / 0.8917 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009216/1.035, allocations: 3.798 MB / 0.8954 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.035, allocations: 0 / 0.8954 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.844e-06/1.035, allocations: 0 / 0.8954 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001122/1.036, allocations: 0 / 0.8954 GB, free: 15.83 MB / 0.6231 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.006045/1.042, allocations: 2.431 MB / 0.8978 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.042, allocations: 9.109 kB / 0.8978 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/1.046, allocations: 0.6378 MB / 0.8984 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/1.05, allocations: 1.334 MB / 0.8997 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.05, allocations: 98.55 kB / 0.8998 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/1.05, allocations: 136 kB / 0.8999 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/1.054, allocations: 1.581 MB / 0.9015 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/1.054, allocations: 4 kB / 0.9015 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/1.054, allocations: 59.98 kB / 0.9015 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.77e-05/1.054, allocations: 50.44 kB / 0.9016 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/1.057, allocations: 1.263 MB / 0.9028 GB, free: 8.035 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.0111/1.068, allocations: 7.253 MB / 0.9099 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/1.069, allocations: 0.6556 MB / 0.9106 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/1.07, allocations: 374.7 kB / 0.9109 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/1.07, allocations: 105.6 kB / 0.911 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.07, allocations: 47.06 kB / 0.9111 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000751/1.071, allocations: 107 kB / 0.9112 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 4.959e-06/1.071, allocations: 0 / 0.9112 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.00228/1.073, allocations: 1.009 MB / 0.9121 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.073, allocations: 59.97 kB / 0.9122 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/1.076, allocations: 1.331 MB / 0.9135 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.076, allocations: 49.7 kB / 0.9135 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/1.076, allocations: 0.7774 MB / 0.9143 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/1.077, allocations: 248.6 kB / 0.9145 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/1.077, allocations: 202.4 kB / 0.9147 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.077, allocations: 345.9 kB / 0.9151 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/1.078, allocations: 352.7 kB / 0.9154 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009274/1.079, allocations: 0.679 MB / 0.9161 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/1.08, allocations: 0.9449 MB / 0.917 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.08, allocations: 0 / 0.917 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002154/1.083, allocations: 1.148 MB / 0.9181 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.083, allocations: 8 kB / 0.9181 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/1.083, allocations: 8 kB / 0.9181 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/1.083, allocations: 15.98 kB / 0.9181 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/1.084, allocations: 211.7 kB / 0.9183 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/1.084, allocations: 15.94 kB / 0.9184 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.085, allocations: 60.67 kB / 0.9184 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.085, allocations: 44 kB / 0.9185 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001212/1.087, allocations: 0.6854 MB / 0.9191 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009227/1.087, allocations: 0.6788 MB / 0.9198 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001429/1.089, allocations: 0.9488 MB / 0.9207 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.671e-06/1.089, allocations: 0 / 0.9207 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002074/1.091, allocations: 1.148 MB / 0.9218 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.091, allocations: 8 kB / 0.9218 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.091, allocations: 4 kB / 0.9218 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.091, allocations: 12 kB / 0.9219 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/1.092, allocations: 208.4 kB / 0.9221 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.384e-05/1.092, allocations: 23.92 kB / 0.9221 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.093, allocations: 55.86 kB / 0.9221 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.094, allocations: 47.92 kB / 0.9222 GB, free: 3.066 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.0003339/1.094, allocations: 249.2 kB / 0.9224 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/1.094, allocations: 146.2 kB / 0.9226 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/1.096, allocations: 0.8241 MB / 0.9234 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/1.096, allocations: 4 kB / 0.9234 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.096, allocations: 4 kB / 0.9234 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/1.097, allocations: 0.7823 MB / 0.9241 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/1.101, allocations: 2.291 MB / 0.9264 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.101, allocations: 3.938 kB / 0.9264 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/1.102, allocations: 171.8 kB / 0.9265 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/1.102, allocations: 8.188 kB / 0.9265 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/1.102, allocations: 23.94 kB / 0.9266 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/1.102, allocations: 4 kB / 0.9266 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.102, allocations: 0 / 0.9266 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/1.104, allocations: 1.316 MB / 0.9279 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006962/1.105, allocations: 323.1 kB / 0.9282 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/1.105, allocations: 15.98 kB / 0.9282 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.106, allocations: 31.98 kB / 0.9282 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/1.106, allocations: 40.5 kB / 0.9282 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/1.106, allocations: 35.98 kB / 0.9283 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001488/1.108, allocations: 0.9083 MB / 0.9292 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.108, allocations: 0 / 0.9292 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002358/1.11, allocations: 0.8378 MB / 0.93 GB, free: 10.87 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.0006746/1.111, allocations: 265.1 kB / 0.9302 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002833/1.114, allocations: 1.44 MB / 0.9316 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.114, allocations: 4 kB / 0.9317 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/1.114, allocations: 355.2 kB / 0.932 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/1.119, allocations: 0.8426 MB / 0.9328 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/1.124, allocations: 2.988 MB / 0.9357 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/1.126, allocations: 1.344 MB / 0.937 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/1.126, allocations: 119.4 kB / 0.9372 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of SimCode: time 8.01e-07/1.126, allocations: 4 kB / 0.9372 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.04351/1.17, allocations: 25.14 MB / 0.9617 GB, free: 10.5 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)