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.001295/0.001295, allocations: 107.8 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.001258/0.001258, 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.355/1.355, 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.8264/0.8264, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.361, 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.5845/0.9456, allocations: 274.6 MB / 0.8532 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.9688, allocations: 17.35 MB / 0.8702 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.9722, allocations: 71.97 kB / 0.8702 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.9756, allocations: 1.166 MB / 0.8714 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009085/0.9848, allocations: 3.087 MB / 0.8744 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00647/0.9913, allocations: 2.197 MB / 0.8765 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007587/0.9988, allocations: 4.821 MB / 0.8812 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003655/1.003, allocations: 1.759 MB / 0.8829 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007361/1.01, allocations: 2.404 MB / 0.8853 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/1.014, allocations: 1.532 MB / 0.8868 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008706/1.014, allocations: 192 kB / 0.887 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007416/1.022, allocations: 3.013 MB / 0.8899 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001303/1.023, allocations: 0.7246 MB / 0.8906 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002251/1.025, allocations: 1.116 MB / 0.8917 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007675/1.033, allocations: 3.798 MB / 0.8954 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.033, allocations: 7.938 kB / 0.8954 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/1.033, allocations: 0 / 0.8954 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.037e-05/1.033, allocations: 0 / 0.8954 GB, free: 15.93 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.004525/1.038, allocations: 2.427 MB / 0.8978 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.038, allocations: 13.11 kB / 0.8978 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/1.042, allocations: 0.6339 MB / 0.8984 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/1.045, allocations: 1.334 MB / 0.8997 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/1.045, allocations: 106.5 kB / 0.8998 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/1.045, allocations: 132 kB / 0.9 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/1.047, allocations: 1.577 MB / 0.9015 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/1.048, allocations: 4 kB / 0.9015 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.048, allocations: 56 kB / 0.9016 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/1.048, allocations: 46.45 kB / 0.9016 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/1.05, allocations: 1.263 MB / 0.9028 GB, free: 8.148 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.009494/1.059, allocations: 7.261 MB / 0.9099 GB, free: 324 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/1.06, allocations: 0.649 MB / 0.9106 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/1.061, allocations: 370.5 kB / 0.9109 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/1.061, allocations: 105.7 kB / 0.911 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/1.061, allocations: 51.06 kB / 0.9111 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006012/1.062, allocations: 103 kB / 0.9112 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 3.056e-06/1.062, allocations: 0 / 0.9112 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.002007/1.064, allocations: 1.013 MB / 0.9122 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/1.064, allocations: 64.3 kB / 0.9122 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/1.066, allocations: 1.331 MB / 0.9135 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-05/1.066, allocations: 45.7 kB / 0.9136 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006841/1.067, allocations: 0.7774 MB / 0.9143 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/1.067, allocations: 240.6 kB / 0.9145 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.067, allocations: 206.3 kB / 0.9147 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.067, allocations: 353.9 kB / 0.9151 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/1.068, allocations: 356.6 kB / 0.9154 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008679/1.069, allocations: 0.679 MB / 0.9161 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/1.07, allocations: 0.9449 MB / 0.917 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.07, allocations: 4 kB / 0.917 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001906/1.072, allocations: 1.144 MB / 0.9181 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.072, allocations: 9.875 kB / 0.9181 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.072, allocations: 8 kB / 0.9181 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/1.072, allocations: 12 kB / 0.9182 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/1.073, allocations: 207.7 kB / 0.9184 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.073, allocations: 20.42 kB / 0.9184 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.074, allocations: 59.84 kB / 0.9184 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/1.074, allocations: 40 kB / 0.9185 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001141/1.076, allocations: 0.6853 MB / 0.9191 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000865/1.077, allocations: 0.6788 MB / 0.9198 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001317/1.078, allocations: 0.9449 MB / 0.9207 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/1.078, allocations: 4 kB / 0.9207 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00189/1.08, allocations: 1.143 MB / 0.9218 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.08, allocations: 8.906 kB / 0.9219 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.08, allocations: 8 kB / 0.9219 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.08, allocations: 19.94 kB / 0.9219 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/1.081, allocations: 203.7 kB / 0.9221 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.081, allocations: 19.92 kB / 0.9221 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.082, allocations: 56.44 kB / 0.9221 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/1.082, allocations: 43.98 kB / 0.9222 GB, free: 3.18 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.0003074/1.082, allocations: 241.3 kB / 0.9224 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/1.083, allocations: 158.2 kB / 0.9226 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/1.084, allocations: 0.8125 MB / 0.9234 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/1.084, allocations: 8 kB / 0.9234 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.084, allocations: 0 / 0.9234 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/1.085, allocations: 0.794 MB / 0.9241 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/1.089, allocations: 2.287 MB / 0.9264 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.089, allocations: 7.938 kB / 0.9264 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/1.09, allocations: 176 kB / 0.9266 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.09, allocations: 4 kB / 0.9266 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/1.09, allocations: 20 kB / 0.9266 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/1.09, allocations: 7.938 kB / 0.9266 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.09, allocations: 4 kB / 0.9266 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/1.092, allocations: 1.312 MB / 0.9279 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/1.092, allocations: 323.1 kB / 0.9282 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/1.092, allocations: 20 kB / 0.9282 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/1.093, allocations: 33.84 kB / 0.9282 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/1.093, allocations: 48.52 kB / 0.9283 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/1.093, allocations: 27.98 kB / 0.9283 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001485/1.095, allocations: 0.9122 MB / 0.9292 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/1.095, allocations: 0 / 0.9292 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002304/1.097, allocations: 0.8378 MB / 0.93 GB, free: 10.97 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.0007647/1.098, allocations: 263.1 kB / 0.9303 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002727/1.101, allocations: 1.448 MB / 0.9317 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.101, allocations: 0 / 0.9317 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004953/1.101, allocations: 347 kB / 0.932 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/1.105, allocations: 0.8377 MB / 0.9328 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/1.11, allocations: 2.995 MB / 0.9357 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.111, allocations: 1.337 MB / 0.9371 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/1.111, allocations: 123.4 kB / 0.9372 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/1.111, allocations: 3.938 kB / 0.9372 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of Templates: time 0.04048/1.152, allocations: 25.13 MB / 0.9617 GB, free: 10.63 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)