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.001356/0.001356, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001337/0.001337, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.379/1.379, allocations: 222.9 MB / 241 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.7944/0.7944, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.52 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1604, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6346/0.7951, allocations: 274.6 MB / 0.9335 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02553/0.8207, allocations: 17.36 MB / 0.9504 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/0.8234, allocations: 67.62 kB / 0.9505 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.827, allocations: 1.161 MB / 0.9516 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008743/0.8358, allocations: 3.095 MB / 0.9546 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005854/0.8417, allocations: 2.207 MB / 0.9568 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007149/0.8488, allocations: 4.815 MB / 0.9615 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.8521, allocations: 1.766 MB / 0.9632 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006352/0.8585, allocations: 2.453 MB / 0.9656 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.8617, allocations: 1.531 MB / 0.9671 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006726/0.8624, allocations: 192 kB / 0.9673 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006273/0.8686, allocations: 3.016 MB / 0.9702 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.8699, allocations: 0.7207 MB / 0.9709 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.8724, allocations: 1.12 MB / 0.972 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007257/0.8796, allocations: 3.829 MB / 0.9758 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.8797, allocations: 3.938 kB / 0.9758 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8797, allocations: 0 / 0.9758 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.959e-05/0.8798, allocations: 4 kB / 0.9758 GB, free: 0.8711 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.004346/0.8841, allocations: 2.423 MB / 0.9782 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.8842, allocations: 9.109 kB / 0.9782 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/0.8886, allocations: 0.6377 MB / 0.9788 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.8911, allocations: 1.4 MB / 0.9802 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.121e-05/0.8912, allocations: 102.5 kB / 0.9802 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.8914, allocations: 143.9 kB / 0.9804 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.894, allocations: 1.561 MB / 0.9819 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.8941, allocations: 3.938 kB / 0.9819 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.8942, allocations: 67.92 kB / 0.982 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.8943, allocations: 42.45 kB / 0.982 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.8963, allocations: 1.263 MB / 0.9833 GB, free: 9.016 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.009011/0.9053, allocations: 7.187 MB / 0.9903 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009968/0.9063, allocations: 0.6581 MB / 0.9909 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.9068, allocations: 367 kB / 0.9913 GB, free: 236 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.907, allocations: 109.6 kB / 0.9914 GB, free: 108 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.9071, allocations: 39.12 kB / 0.9914 GB, free: 60 kB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005987/0.9077, allocations: 103.2 kB / 0.9915 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=67): time 3.797e-06/0.9077, allocations: 0 / 0.9915 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67): time 0.001857/0.9096, allocations: 1.009 MB / 0.9925 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.9096, allocations: 59.97 kB / 0.9925 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.9113, allocations: 1.343 MB / 0.9939 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/0.9113, allocations: 45.7 kB / 0.9939 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000572/0.9119, allocations: 0.7775 MB / 0.9947 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.9122, allocations: 244.6 kB / 0.9949 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.9125, allocations: 198.5 kB / 0.9951 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9126, allocations: 345.9 kB / 0.9954 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/0.9131, allocations: 360.7 kB / 0.9958 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.9139, allocations: 0.6794 MB / 0.9964 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.9152, allocations: 0.9488 MB / 0.9973 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.9152, allocations: 4 kB / 0.9974 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001853/0.917, allocations: 1.148 MB / 0.9985 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.9171, allocations: 14.19 kB / 0.9985 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.9171, allocations: 8 kB / 0.9985 GB, free: 8.504 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.9171, allocations: 8 kB / 0.9985 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009397/0.9181, allocations: 211.7 kB / 0.9987 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.9181, allocations: 16.48 kB / 0.9987 GB, free: 8.273 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.9194, allocations: 47.88 kB / 0.9988 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.9195, allocations: 43.98 kB / 0.9988 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001087/0.9206, allocations: 0.6892 MB / 0.9995 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00078/0.9214, allocations: 0.6837 MB / 1 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001201/0.9226, allocations: 0.941 MB / 1.001 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/0.9226, allocations: 8 kB / 1.001 GB, free: 5.625 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001823/0.9245, allocations: 1.144 MB / 1.002 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.9245, allocations: 8 kB / 1.002 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.9245, allocations: 8 kB / 1.002 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.9245, allocations: 8 kB / 1.002 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.9254, allocations: 203.7 kB / 1.002 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.9254, allocations: 19.92 kB / 1.002 GB, free: 4.234 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.9267, allocations: 60.28 kB / 1.002 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/0.9268, allocations: 43.98 kB / 1.003 GB, free: 4.133 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.0003067/0.9271, allocations: 251.9 kB / 1.003 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.9274, allocations: 150.1 kB / 1.003 GB, free: 3.73 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.9288, allocations: 0.8203 MB / 1.004 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.9288, allocations: 4 kB / 1.004 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9289, allocations: 0 / 1.004 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009501/0.9298, allocations: 0.7823 MB / 1.004 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.9331, allocations: 2.298 MB / 1.007 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9332, allocations: 0 / 1.007 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008451/0.934, allocations: 175.8 kB / 1.007 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.028e-05/0.934, allocations: 7.938 kB / 1.007 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.9341, allocations: 12 kB / 1.007 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.9341, allocations: 4 kB / 1.007 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9341, allocations: 8 kB / 1.007 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.9359, allocations: 1.312 MB / 1.008 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/0.9365, allocations: 331.1 kB / 1.009 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.9367, allocations: 15.98 kB / 1.009 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/0.9376, allocations: 31.98 kB / 1.009 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.9377, allocations: 40.5 kB / 1.009 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/0.9378, allocations: 31.98 kB / 1.009 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001239/0.9391, allocations: 0.9083 MB / 1.01 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9391, allocations: 0 / 1.01 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001966/0.941, allocations: 0.8378 MB / 1.01 GB, free: 11.92 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.000612/0.9417, allocations: 257.8 kB / 1.011 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.9438, allocations: 1.333 MB / 1.012 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9438, allocations: 1.938 kB / 1.012 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.9443, allocations: 351 kB / 1.012 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/0.9481, allocations: 0.836 MB / 1.013 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.9527, allocations: 2.949 MB / 1.016 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/0.9537, allocations: 1.352 MB / 1.017 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.9541, allocations: 119.4 kB / 1.017 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of SimCode: time 7.32e-07/0.9541, allocations: 0 / 1.017 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of Templates: time 0.04071/0.9948, allocations: 25.31 MB / 1.042 GB, free: 11.48 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)