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.006063/0.006063, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001234/0.001234, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8086/0.8086, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 71.98 kB / 0.5856 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 80.92 MB / 0.6647 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6751/0.8255, allocations: 274.6 MB / 0.9328 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0265/0.852, allocations: 17.36 MB / 0.9497 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.8549, allocations: 71.56 kB / 0.9498 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00381/0.8587, allocations: 1.212 MB / 0.951 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008633/0.8674, allocations: 3.22 MB / 0.9541 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.8734, allocations: 2.231 MB / 0.9563 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006832/0.8802, allocations: 4.83 MB / 0.961 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003029/0.8833, allocations: 1.763 MB / 0.9628 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006731/0.89, allocations: 2.487 MB / 0.9652 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.8934, allocations: 1.549 MB / 0.9667 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007851/0.8942, allocations: 188 kB / 0.9669 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006798/0.901, allocations: 3.024 MB / 0.9698 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.9023, allocations: 0.7206 MB / 0.9705 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.9046, allocations: 1.116 MB / 0.9716 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007569/0.9122, allocations: 3.833 MB / 0.9754 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9122, allocations: 0 / 0.9754 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9122, allocations: 0 / 0.9754 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001014/0.9123, allocations: 3.938 kB / 0.9754 GB, free: 0.7188 MB / 0.7325 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.005317/0.9176, allocations: 2.427 MB / 0.9777 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.9177, allocations: 13.09 kB / 0.9778 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004481/0.9222, allocations: 0.6416 MB / 0.9784 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.9245, allocations: 1.393 MB / 0.9797 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.9246, allocations: 98.55 kB / 0.9798 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.9248, allocations: 147.8 kB / 0.98 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.9275, allocations: 1.565 MB / 0.9815 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.9276, allocations: 7.938 kB / 0.9815 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.9277, allocations: 52 kB / 0.9816 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/0.9278, allocations: 54.44 kB / 0.9816 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.9299, allocations: 1.27 MB / 0.9829 GB, free: 8.852 MB / 0.7481 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.009024/0.9389, allocations: 7.194 MB / 0.9899 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.94, allocations: 0.6418 MB / 0.9905 GB, free: 448 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.9405, allocations: 371 kB / 0.9909 GB, free: 76 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.9407, allocations: 109.6 kB / 0.991 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.9408, allocations: 47.12 kB / 0.991 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005688/0.9414, allocations: 95.11 kB / 0.9911 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=67): time 4.107e-06/0.9414, allocations: 0 / 0.9911 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67): time 0.002012/0.9434, allocations: 1.013 MB / 0.9921 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.9435, allocations: 59.97 kB / 0.9922 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.9453, allocations: 1.335 MB / 0.9935 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.016e-05/0.9454, allocations: 45.7 kB / 0.9935 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.946, allocations: 0.7814 MB / 0.9943 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.9463, allocations: 240.6 kB / 0.9945 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.9466, allocations: 202.5 kB / 0.9947 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.9467, allocations: 349.8 kB / 0.995 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.9473, allocations: 356.7 kB / 0.9954 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008522/0.9482, allocations: 0.679 MB / 0.996 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.9495, allocations: 0.9489 MB / 0.9969 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.9495, allocations: 4 kB / 0.997 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001841/0.9514, allocations: 1.144 MB / 0.9981 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9514, allocations: 8 kB / 0.9981 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.9514, allocations: 8 kB / 0.9981 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.9514, allocations: 12.75 kB / 0.9981 GB, free: 8.344 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/0.9523, allocations: 211.7 kB / 0.9983 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/0.9524, allocations: 20.27 kB / 0.9983 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.9537, allocations: 47.88 kB / 0.9984 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/0.9538, allocations: 47.97 kB / 0.9984 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001064/0.9548, allocations: 0.6853 MB / 0.9991 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007863/0.9556, allocations: 0.6788 MB / 0.9997 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001234/0.9569, allocations: 0.9488 MB / 1.001 GB, free: 5.473 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.9569, allocations: 4 kB / 1.001 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001831/0.9587, allocations: 1.144 MB / 1.002 GB, free: 4.32 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.9588, allocations: 14.34 kB / 1.002 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.9588, allocations: 11.94 kB / 1.002 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.9588, allocations: 12 kB / 1.002 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.9596, allocations: 203.7 kB / 1.002 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.9596, allocations: 15.94 kB / 1.002 GB, free: 4.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.961, allocations: 55.91 kB / 1.002 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.9611, allocations: 43.98 kB / 1.002 GB, free: 3.973 MB / 0.7637 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.0002785/0.9614, allocations: 247.9 kB / 1.002 GB, free: 3.723 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.9616, allocations: 154.1 kB / 1.003 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.9631, allocations: 0.8086 MB / 1.003 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.9631, allocations: 8 kB / 1.003 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.9631, allocations: 0 / 1.003 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.9641, allocations: 0.7901 MB / 1.004 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.9676, allocations: 2.287 MB / 1.006 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9676, allocations: 0 / 1.006 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.9684, allocations: 176 kB / 1.006 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.9685, allocations: 7.938 kB / 1.006 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.9685, allocations: 23.98 kB / 1.007 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.9685, allocations: 7.938 kB / 1.007 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.9685, allocations: 3.984 kB / 1.007 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.9703, allocations: 1.308 MB / 1.008 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/0.9708, allocations: 327.1 kB / 1.008 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.9711, allocations: 20.12 kB / 1.008 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/0.972, allocations: 40.62 kB / 1.008 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.972, allocations: 40.5 kB / 1.008 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-05/0.9721, allocations: 35.98 kB / 1.008 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001222/0.9733, allocations: 0.9044 MB / 1.009 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9734, allocations: 0 / 1.009 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001963/0.9753, allocations: 0.8379 MB / 1.01 GB, free: 11.76 MB / 0.7794 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.0005672/0.9759, allocations: 256.3 kB / 1.01 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002078/0.978, allocations: 1.327 MB / 1.011 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.978, allocations: 4 kB / 1.011 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.9785, allocations: 347 kB / 1.012 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/0.9819, allocations: 0.8326 MB / 1.013 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.9866, allocations: 2.873 MB / 1.015 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.9879, allocations: 1.348 MB / 1.017 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001572/0.9895, allocations: 408.3 kB / 1.017 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.9899, allocations: 115.4 kB / 1.017 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of SimCode: time 9.41e-07/0.9899, allocations: 0 / 1.017 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of Templates: time 0.06265/1.053, allocations: 29.33 MB / 1.046 GB, free: 7.168 MB / 0.8106 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)